mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
auto refresh tracker
This commit is contained in:
@@ -130,7 +130,7 @@ def host_room(room: int):
|
||||
|
||||
|
||||
@app.route('/tracker/<int:room>')
|
||||
@cache.memoize(timeout=60 * 5) # update every 5 minutes
|
||||
@cache.memoize(timeout=60) # update every minute
|
||||
def get_tracker(room: int):
|
||||
# This more WIP than the rest
|
||||
import Items
|
||||
|
||||
Reference in New Issue
Block a user