Skip to content

Add an ability to disable expiration time randomization.  #419

@beeyev

Description

@beeyev

The library has this code to slightly change the expiration time.

$expirationDiff = rand(0, floor($cacheTime * .15));
$expiration -= $expirationDiff;

I know the reason, it's also discussed here.

Could you please add an ability to disable this feature when it's needed?
Developers should be able to set precise TTL when they really want to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions