File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 restartPolicy : OnFailure
3737 imagePullSecrets :
3838 - name : osuakatsuki-registry-secret
39- metadata :
40- labels :
41- sidecar.istio.io/inject : " false"
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ async def update_homepage_cache() -> None:
490490 SELECT COUNT(*) AS cnt
491491 FROM users
492492 WHERE privileges & 1
493- """
493+ """ ,
494494 )
495495 await redis .set ("akatsuki:registered_users" , str (user_count ["cnt" ]))
496496
@@ -499,7 +499,7 @@ async def update_homepage_cache() -> None:
499499 SELECT COUNT(*) AS cnt
500500 FROM beatmaps
501501 WHERE ranked IN (2, 3)
502- """
502+ """ ,
503503 )
504504 await redis .set ("akatsuki:ranked_beatmaps" , str (beatmap_count ["cnt" ]))
505505
@@ -509,7 +509,7 @@ async def update_homepage_cache() -> None:
509509 FROM user_stats
510510 INNER JOIN users ON users.id = user_stats.user_id
511511 WHERE users.privileges & 1
512- """
512+ """ ,
513513 )
514514 years = int (playtime ["total_playtime" ]) // (60 * 60 * 24 * 365 )
515515 await redis .set ("akatsuki:total_playtime_years" , str (years ))
You can’t perform that action at this time.
0 commit comments