From d747745f1342fc5486b208e9e04737a07d16469b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 14 Nov 2008 14:06:00 +0900 Subject: [PATCH] increase sync timeout to 60 seconds --- anki/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sync.py b/anki/sync.py index f938c0d37..fcb7d09ae 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -902,7 +902,7 @@ class HttpSyncServerProxy(SyncServer): "Check auth, protocol & grab deck list." if not self.decks: import socket - socket.setdefaulttimeout(10) + socket.setdefaulttimeout(60) d = self.runCmd("getDecks", libanki=anki.version, client=clientVersion,