set caching to two minutes

master
Fox Wilson 2016-03-13 22:48:37 -04:00
parent 5362f1a4b3
commit 019b832905
1 changed files with 2 additions and 2 deletions

4
app.py
View File

@ -55,8 +55,8 @@ def scoreboard():
if not data or not graphdata:
data = utils.scoreboard.calculate_scores()
graphdata = utils.scoreboard.calculate_graph(data)
utils.scoreboard.set_complex("scoreboard", data, 1)
utils.scoreboard.set_complex("graph", graphdata, 1)
utils.scoreboard.set_complex("scoreboard", data, 120)
utils.scoreboard.set_complex("graph", graphdata, 120)
return render_template("scoreboard.html", data=data, graphdata=graphdata)