mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-05 22:51:36 +01:00
decrease retention time for live games
This commit is contained in:
@@ -135,7 +135,7 @@ class DatabaseConnection:
|
||||
|
||||
cursor = self.connPlayers.cursor()
|
||||
cursor.execute('''SELECT * FROM live WHERE time > ? ORDER BY time DESC LIMIT 2''', (
|
||||
(datetime.datetime.now() - datetime.timedelta(minutes=100)).timestamp(),))
|
||||
(datetime.datetime.now() - datetime.timedelta(minutes=40)).timestamp(),))
|
||||
|
||||
liveRounds = []
|
||||
for row in cursor:
|
||||
|
||||
Reference in New Issue
Block a user