mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 23:14:56 -04:00
Attempt to include db threads in cpu usage stats (#3496)
Let's try to include time spent in the DB threads in the per-request/block cpu usage metrics.
This commit is contained in:
parent
55370331da
commit
c3c29aa196
4 changed files with 39 additions and 20 deletions
|
@ -261,7 +261,8 @@ class EventsWorkerStore(SQLBaseStore):
|
|||
]
|
||||
|
||||
rows = self._new_transaction(
|
||||
conn, "do_fetch", [], [], None, self._fetch_event_rows, event_ids
|
||||
conn, "do_fetch", [], [],
|
||||
self._fetch_event_rows, event_ids,
|
||||
)
|
||||
|
||||
row_dict = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue