mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Clock tests
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user