Commit a78a427e authored by Mike Hibler's avatar Mike Hibler
Browse files

Double the timeout period for waiting for the master server to reply.

This is a "temporary" hack to get around the single-threaded nature of
the master server. That in itself is not the killer, it is that it
sleeps for 2 seconds after it spawns a child process (frisbeed, frisbee
or uploader). So if three images are requested simultaneously by a handful
of clients, then it will take 6 seconds to get the frisbeed processes
started, exceeding the 5 second timeout in the clients. So other clients
in the queue after the three clients that are starting images will timeout
before the master server handles them.
parent a271d365
...@@ -472,7 +472,7 @@ main(int argc, char **argv) ...@@ -472,7 +472,7 @@ main(int argc, char **argv)
struct in_addr pif; struct in_addr pif;
GetReply reply; GetReply reply;
int method = askonly ? MS_METHOD_ANY : xfermethods; int method = askonly ? MS_METHOD_ANY : xfermethods;
int timo = 5; /* XXX */ int timo = 10; /* XXX */
int host = 0; int host = 0;
if (proxyfor) { if (proxyfor) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment