Skip to content

Commit d63893f

Browse files
committed
Round floats
1 parent f52ff7e commit d63893f

File tree

1 file changed

+1
-1
lines changed
  • src/ghga_service_commons/transports

1 file changed

+1
-1
lines changed

src/ghga_service_commons/transports/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def _log_retry_stats(retry_state: RetryCallState):
109109
}
110110

111111
if time_passed := retry_state.seconds_since_start:
112-
retry_stats["seconds_elapsed"] = time_passed
112+
retry_stats["seconds_elapsed"] = round(time_passed, 3)
113113

114114
log.info(
115115
"Retry attempt number %i for function %s.",

0 commit comments

Comments
 (0)