diff --git a/posts.py b/posts.py index d60023aa..fc0045d2 100644 --- a/posts.py +++ b/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, \ diff --git a/threads.py b/threads.py index d5e5c4de..68dc0d97 100644 --- a/threads.py +++ b/threads.py @@ -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