Skip to content

Commit 282ba6a

Browse files
authored
fix: execution time retains 2 digits (#115)
1 parent 1a0036a commit 282ba6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/receiver/receiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async def run_task( # noqa: C901, WPS210
214214
is_err=found_exception is not None,
215215
log=None,
216216
return_value=returned,
217-
execution_time=execution_time,
217+
execution_time=round(execution_time, 2),
218218
)
219219
# If exception is found we execute middlewares.
220220
if found_exception is not None:

0 commit comments

Comments
 (0)