Skip to content
Snippets Groups Projects
Commit 06934459 authored by Krzysztof Leśniak's avatar Krzysztof Leśniak
Browse files

Log flush times in live sync

parent 2ddc9f89
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !863. Comments created here will be created in the context of that merge request.
......@@ -179,7 +179,8 @@ class Blocks:
def flush_data_in_1_thread(cls) -> None:
for description, f, c in cls._concurrent_flush:
try:
f()
(n, elapsedTime) = time_collector(f)
log.info("%s flush executed in: %.4f s", description, elapsedTime)
except Exception as exc:
log.error(f'{description!r} generated an exception: {exc}')
raise exc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment