decrease retention time for live games

This commit is contained in:
2021-03-25 13:14:18 +01:00
parent 432d0d4ce1
commit c1772a7c57

View File

@@ -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: