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()
|
digestStartTime=time.time()
|
||||||
digest=messageContentDigest(messageBytes)
|
digest=messageContentDigest(messageBytes)
|
||||||
timeDiff=int((time.time()-digestStartTime)*1000)
|
timeDiffStr=str(int((time.time()-digestStartTime)*1000))
|
||||||
if debug or timeDiff>200:
|
if debug:
|
||||||
print('DIGEST|'+str(timeDiff)+'|'+filename)
|
while len(timeDiffStr)<6:
|
||||||
|
timeDiffStr='0'+timeDiffStr
|
||||||
|
print('DIGEST|'+timeDiffStr+'|'+filename)
|
||||||
|
|
||||||
newQueueItem = {
|
newQueueItem = {
|
||||||
'originalId': originalPostId,
|
'originalId': originalPostId,
|
||||||
|
|
Loading…
Reference in New Issue