Skip to content

Dchakravarthy quora/lru clear#158

Open
dchakravarthy wants to merge 2 commits intomasterfrom
dchakravarthy-quora/lru-clear
Open

Dchakravarthy quora/lru clear#158
dchakravarthy wants to merge 2 commits intomasterfrom
dchakravarthy-quora/lru-clear

Conversation

@dchakravarthy
Copy link
Copy Markdown
Contributor

add support to clear alru cache

Reviewers:dkang

Test Plan:add test

Differential Revision:

Asana Tasks:

Screenshot:

CC:

Deploy To:
Comment thread asynq/tools.py
cache[key] = value
return value

wrapper.clear = cache.clear
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggest calling this cache_clear to align with @functools.lru_cache: https://docs.python.org/3.14/library/functools.html#functools.lru_cache

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.

2 participants