Skip to content

Commit e07fd4b

Browse files
lukebaumanncopybara-github
authored andcommitted
Improve logging precision for sleep duration.
Format the logged sleep time to two decimal places for better readability. FUTURE_COPYBARA_INTEGRATE_REVIEW=#104 from AI-Hypercomputer:release 49f59b7 PiperOrigin-RevId: 800745631
1 parent 0311764 commit e07fd4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pathwaysutils/elastic/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ def wait_for_slices(
708708
)
709709

710710
if time_to_sleep > 0:
711-
_logger.info("Sleeping for %s seconds.", time_to_sleep)
711+
_logger.info("Sleeping for %.2f seconds.", time_to_sleep)
712712

713713
time.sleep(time_to_sleep)
714714

0 commit comments

Comments
 (0)