Skip to content

fix cleanup interval#447

Open
LiteralGenie wants to merge 1 commit intokarpetrosyan:masterfrom
LiteralGenie:fix-cleanup-interval
Open

fix cleanup interval#447
LiteralGenie wants to merge 1 commit intokarpetrosyan:masterfrom
LiteralGenie:fix-cleanup-interval

Conversation

@LiteralGenie
Copy link
Copy Markdown
Contributor

Fixes #446

self.refresh_ttl_on_access = refresh_ttl_on_access
self.last_cleanup = time.time() - BATCH_CLEANUP_INTERVAL + BATCH_CLEANUP_START_DELAY
# When this storage instance was created. Used to delay the first cleanup.
self._start_time = time.time()
Copy link
Copy Markdown
Contributor Author

@LiteralGenie LiteralGenie Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't seem to be used anywhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_batch_cleanup() called on every request

1 participant