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:
Richard van der Hoff 2018-07-10 16:12:36 +01:00 committed by GitHub
parent 55370331da
commit c3c29aa196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 20 deletions

View file

@ -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 = {