Skip to content

Central config: non-integer cache-control headers #2438

Closed
@graphaelli

Description

@graphaelli

With apm-server.agent.config.cache.expiration=1010ms, the config endpoint returns:

Cache-Control: max-age=1.01, must-revalidate

I propose rejecting the configuration as invalid rather than rounding to 1. be predictable 2. avoid the < 1s edge case.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions