Skip to content

Commit ae407b8

Browse files
authored
remove the non-exist field updated_at (#347)
* fix limiter * fix limiter * fix limiter * fix limiter
1 parent a992037 commit ae407b8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/libkernelbot/leaderboard_db.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,11 @@ def update_heartbeat_if_active(self, sub_id: int, ts: datetime.datetime) -> None
378378
self.cursor.execute(
379379
"""
380380
UPDATE leaderboard.submission_job_status
381-
SET last_heartbeat = %s,
382-
updated_at = %s
381+
SET last_heartbeat = %s
383382
WHERE submission_id = %s
384383
AND status IN ('pending','running')
385384
""",
386-
(ts, ts, sub_id),
385+
(ts, sub_id),
387386
)
388387
self.connection.commit()
389388
except psycopg2.Error as e:

0 commit comments

Comments
 (0)