mirror of
https://github.com/simple-login/app.git
synced 2024-09-29 21:21:29 +02:00
fix: monitoring table name
This commit is contained in:
parent
6862ed3602
commit
5f190d4b46
@ -95,7 +95,7 @@ def log_nb_db_connection():
|
|||||||
|
|
||||||
@newrelic.agent.background_task()
|
@newrelic.agent.background_task()
|
||||||
def log_pending_to_process_events():
|
def log_pending_to_process_events():
|
||||||
r = Session.execute("select count(*) from sync_events WHERE taken_time IS NULL;")
|
r = Session.execute("select count(*) from sync_event WHERE taken_time IS NULL;")
|
||||||
events_pending = list(r)[0][0]
|
events_pending = list(r)[0][0]
|
||||||
|
|
||||||
LOG.d("number of events pending to process %s", events_pending)
|
LOG.d("number of events pending to process %s", events_pending)
|
||||||
|
Loading…
Reference in New Issue
Block a user