diff options
author | Yaniv Kamay <ykamay@redhat.com> | 2009-12-21 19:06:11 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-12-21 19:24:47 +0200 |
commit | aa1481378f5fec8ea8d68f55909eea8cbae5b143 (patch) | |
tree | 509c90b220b5ec61565ba6bb1ea6bf0831d876ca | |
parent | 31dff987ecb7090306621d1be0f7493868348c8d (diff) | |
download | spice-aa1481378f5fec8ea8d68f55909eea8cbae5b143.tar.gz spice-aa1481378f5fec8ea8d68f55909eea8cbae5b143.tar.xz spice-aa1481378f5fec8ea8d68f55909eea8cbae5b143.zip |
spice: sever: increase client timeout
Increase client timeout in order to prevent unnecessary
disconnecting of client while the connection is over WAN.
Tested by changing WinXP resolution (with desktop background) while
connecting over WAN (1.5Mbit 150Kbit)
-rw-r--r-- | server/red_worker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index 11d3ce6f..575605c1 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -62,10 +62,10 @@ #define CMD_RING_POLL_TIMEOUT 10 //milli #define CMD_RING_POLL_RETRIES 200 -#define DETACH_TIMEOUT 4000000000 //nano +#define DETACH_TIMEOUT 15000000000ULL //nano #define DETACH_SLEEP_DURATION 10000 //micro -#define DISPLAY_CLIENT_TIMEOUT 4000000000 //nano +#define DISPLAY_CLIENT_TIMEOUT 15000000000ULL //nano #define DISPLAY_CLIENT_RETRY_INTERVAL 10000 //micro #define DISPLAY_MAX_SUB_MESSAGES 10 |