forked from indymedia/epicyon
Longer thread timeout
parent
dd6916b580
commit
49a1169e67
1
posts.py
1
posts.py
|
@ -1719,6 +1719,7 @@ def sendToFollowers(session,baseDir: str, \
|
|||
print('DEBUG: Sending profile update from '+nickname+'@'+domain+' to '+toNickname+'@'+toDomain)
|
||||
if isUpdate:
|
||||
postJsonObject['cc']=[httpPrefix+'://'+toDomain+'/users/'+toNickname]
|
||||
|
||||
sendSignedJson(postJsonObject,session,baseDir, \
|
||||
nickname,domain,port, \
|
||||
toNickname,toDomain,toPort, \
|
||||
|
|
|
@ -90,7 +90,7 @@ def removeDormantThreads(baseDir: str,threadsList: [],debug: bool) -> None:
|
|||
print('DEBUG: thread is not alive ten seconds after start')
|
||||
removeThread=True
|
||||
# timeout for started threads
|
||||
if (currTime-th.startTime).total_seconds()>120:
|
||||
if (currTime-th.startTime).total_seconds()>600:
|
||||
if debug:
|
||||
print('DEBUG: started thread timed out')
|
||||
removeThread=True
|
||||
|
|
Loading…
Reference in New Issue