mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
CLock
This commit is contained in:
@@ -156,7 +156,7 @@ class Transcriber(commands.Cog):
|
|||||||
if not item[3]:
|
if not item[3]:
|
||||||
timediff_rotation = time.time_ns() - item[2]
|
timediff_rotation = time.time_ns() - item[2]
|
||||||
timediff_write = time.time_ns() -item[1]
|
timediff_write = time.time_ns() -item[1]
|
||||||
if timediff_rotation > 3000149433 and timediff_write > 500014943 and item[4]:
|
if timediff_rotation > 13000149433 and timediff_write > 500014943 and item[4]:
|
||||||
logger.info("File rotation time since last write %s %s", timediff_write, timediff_write/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)
|
logger.info("File rotation time since last rotation %s %s",timediff_rotation, timediff_rotation/1e9)
|
||||||
item[2] = time.time_ns()
|
item[2] = time.time_ns()
|
||||||
|
|||||||
Reference in New Issue
Block a user