Skip to content

Commit

Permalink
wait longer for server to start, sockets can take 5 seconds to clear …
Browse files Browse the repository at this point in the history
…already!

git-svn-id: https://xpra.org/svn/Xpra/trunk@7133 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 5, 2014
1 parent b3d6605 commit ae83a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ def setsid():
dotxpra = DotXpra()
start = time.time()
while dotxpra.server_state(display_name, 1)!=DotXpra.LIVE:
if time.time()-start>5:
if time.time()-start>15:
warn("server failed to start after %.1f seconds - sorry!" % (time.time()-start))
return
time.sleep(0.10)
Expand Down

0 comments on commit ae83a70

Please sign in to comment.