mirror of https://gitlab.com/bashrc2/epicyon
Slow
parent
c522ca1d99
commit
e0cb54169c
|
@ -796,7 +796,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if self.server.debug:
|
||||
timeDiff=int((time.time()-beginSaveTime)*1000)
|
||||
if timeDiff>200:
|
||||
print('WARN: slow save of inbox queue item '+queueFilename+' took '+str(timeDiff)+' mS')
|
||||
print('SLOW: slow save of inbox queue item '+queueFilename+' took '+str(timeDiff)+' mS')
|
||||
try:
|
||||
with open(queueFilename, 'r') as fp:
|
||||
queueJson=commentjson.load(fp)
|
||||
|
|
Loading…
Reference in New Issue