Clock tests

This commit is contained in:
2024-09-20 18:24:40 +02:00
parent ef0be53a96
commit aec60b217c
+2 -2
View File
@@ -157,8 +157,8 @@ class Transcriber(commands.Cog):
timediff_rotation = time.time_ns() - item[2]
timediff_write = time.time_ns() -item[1]
if timediff_rotation > 3000149433 and timediff_write > 500014943 and item[4]:
logger.debug("File rotation time since last write %s", timediff_write/1e9)
logger.debug("File rotation time since last rotation %s", timediff_rotation/1e9)
logger.info("File rotation time since last write %s %s", timediff_write, timediff_write/1e9)
logger.info("File rotation time since last rotation %s %s",timediff_rotation, timediff_rotation/1e9)
item[2] = time.time_ns()
item[4] = False
await item[0].rotate()