Skip to content

Commit

Permalink
Check the listen count every 5 minutes (#3038)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayhem authored Nov 19, 2024
1 parent 44f7929 commit c00cc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listenbrainz/webserver/views/status_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
STATUS_PREFIX = 'listenbrainz.status' # prefix used in key to cache status
CACHE_TIME = 60 * 60 # time in seconds we cache the fetched data
DUMP_CACHE_TIME = 24 * 60 * 60 # time in seconds we cache the dump check
LISTEN_COUNT_CACHE_TIME = 30 * 60 # time in seconds we cache the listen count
LISTEN_COUNT_CACHE_TIME = 5 * 60 # time in seconds we cache the listen count
PLAYLIST_CACHE_TIME = 24 * 30 * 60 # time in seconds we cache latest playlist timestamp

status_api_bp = Blueprint("status_api_v1", __name__)
Expand Down

0 comments on commit c00cc96

Please sign in to comment.