mirror of https://gitlab.com/bashrc2/epicyon
Prepend zeros
parent
7654534777
commit
b1acdc69ac
8
inbox.py
8
inbox.py
|
@ -302,9 +302,11 @@ def savePostToInboxQueue(baseDir: str,httpPrefix: str, \
|
|||
|
||||
digestStartTime=time.time()
|
||||
digest=messageContentDigest(messageBytes)
|
||||
timeDiff=int((time.time()-digestStartTime)*1000)
|
||||
if debug or timeDiff>200:
|
||||
print('DIGEST|'+str(timeDiff)+'|'+filename)
|
||||
timeDiffStr=str(int((time.time()-digestStartTime)*1000))
|
||||
if debug:
|
||||
while len(timeDiffStr)<6:
|
||||
timeDiffStr='0'+timeDiffStr
|
||||
print('DIGEST|'+timeDiffStr+'|'+filename)
|
||||
|
||||
newQueueItem = {
|
||||
'originalId': originalPostId,
|
||||
|
|
Loading…
Reference in New Issue