mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
increase sync timeout to 60 seconds
This commit is contained in:
parent
cdd2be3548
commit
d747745f13
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ class HttpSyncServerProxy(SyncServer):
|
||||||
"Check auth, protocol & grab deck list."
|
"Check auth, protocol & grab deck list."
|
||||||
if not self.decks:
|
if not self.decks:
|
||||||
import socket
|
import socket
|
||||||
socket.setdefaulttimeout(10)
|
socket.setdefaulttimeout(60)
|
||||||
d = self.runCmd("getDecks",
|
d = self.runCmd("getDecks",
|
||||||
libanki=anki.version,
|
libanki=anki.version,
|
||||||
client=clientVersion,
|
client=clientVersion,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue