fix: wrong retries column name in monitoring (#2233)

This commit is contained in:
Carlos Quintana 2024-09-25 14:33:14 +02:00 committed by GitHub
parent a3bd6969ec
commit 20c1145a1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ def log_failed_events():
""" """
SELECT COUNT(*) SELECT COUNT(*)
FROM sync_event FROM sync_event
WHERE retries >= 10; WHERE retry_count >= 10;
""", """,
) )
failed_events = list(r)[0][0] failed_events = list(r)[0][0]