summary refs log tree commit diff
path: root/changelog.d
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 /changelog.d
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 'changelog.d')
-rw-r--r--changelog.d/17219.feature1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/17219.feature b/changelog.d/17219.feature
new file mode 100644
index 0000000000..f8277a89d8
--- /dev/null
+++ b/changelog.d/17219.feature
@@ -0,0 +1 @@
+Add logging to tasks managed by the task scheduler, showing CPU and database usage.
\ No newline at end of file