mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 03:35:10 +00:00
Merge branch 'rei/task_scheduler_better_logging' into matrix-org-hotfixes
This commit is contained in:
commit
cdd333b4f1
1 changed files with 2 additions and 1 deletions
|
@ -367,7 +367,7 @@ class TaskScheduler:
|
|||
|
||||
logger.info(
|
||||
"Task %s: %.3fsec (%.3fsec, %.3fsec) (%.3fsec/%.3fsec/%d)"
|
||||
" [%d dbevts] %r",
|
||||
" [%d dbevts] %r, %r",
|
||||
state,
|
||||
active_time,
|
||||
usage.ru_utime,
|
||||
|
@ -376,6 +376,7 @@ class TaskScheduler:
|
|||
usage.db_txn_duration_sec,
|
||||
int(usage.db_txn_count),
|
||||
usage.evt_db_fetch_count,
|
||||
task.resource_id,
|
||||
task.params,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue