summary refs log tree commit diff
path: root/synapse/appservice
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2024-05-22 14:12:58 +0100
committerGitHub <noreply@github.com>2024-05-22 14:12:58 +0100
commit7ef00b76280c9d8f5ad60e42cc384b316569d15f (patch)
tree7fd7a944dee3acd7b2e3c5696119d33bf529c6c7 /synapse/appservice
parentReduce work of calculating outbound device pokes (#17211) (diff)
downloadsynapse-7ef00b76280c9d8f5ad60e42cc384b316569d15f.tar.xz
Add logging to tasks managed by the task scheduler, showing CPU and database usage. (#17219)
The log format is the same as the request log format, except:

- fields that are specific to HTTP requests have been removed
- the task's params are included at the end of the log line.

These log lines are emitted:
- when the task function finishes — both completion and failure (and I
suppose it is possible for a task to become schedulable again?)
- every 5 minutes whilst it is running

Closes #17217.

---------

Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse/appservice')
0 files changed, 0 insertions, 0 deletions