You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
ericecook
changed the title
Convert utils.py get_pool_hashrate() to be scheduled & cached in redis
Convert some utils.py memoized functions to be scheduled & cached in redis
Dec 3, 2014
I had been thinking on this one for a while, and ideally I'd like to modify flask cache in such a way that tasks like this could be at least semi-automatically generated/scheduled. This whole backend updating cached values is a really common pattern, and I'd like a more robust way to do it.
Definitely all extra at the moment tho. Not sure that these take very long when there's a cache miss anyway.
Yea, I'm more just thinking for uniformity. That, and it means occasionally someone's page load waits for these to get cached, which could be related to #173
Specifically ones like
get_pool_hashrate()
pool_share_tracker()
orphan_percentage()
The text was updated successfully, but these errors were encountered: