We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Is this because @lru_cache makes ctftime_fetch_running_ctf_data() return old events at https://github.com/hugsy/ctfpad/blob/master/ctfpad/views/ctfs.py#L33?
@lru_cache
ctftime_fetch_running_ctf_data()
The text was updated successfully, but these errors were encountered:
Likely.
But we need some caching here, fetching data from ctftime is a too long operation not to be cached.
Sorry, something went wrong.
Can we lower the TTL at all? Or rather what we should do is filter out ctfs that have ended. I'll look into it.
You can flush the cache but then there's no point.
We can always hide (or add a notation to) the CTF already finished.
b7c34f6
No branches or pull requests
Is this because
@lru_cache
makesctftime_fetch_running_ctf_data()
return old events at https://github.com/hugsy/ctfpad/blob/master/ctfpad/views/ctfs.py#L33?The text was updated successfully, but these errors were encountered: