diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-09-11 13:31:21 -0400 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-02-23 23:00:41 +0100 |
commit | de86832c54141b00ac2884c73208e866d6b47eb1 (patch) | |
tree | ca0f4a885e9ee09d800aaa4d0dc67ea19e3262bd /server/dcc.h | |
parent | abbfccfcf1ea8d08d62d561d07fc24551560fb03 (diff) | |
download | spice-de86832c54141b00ac2884c73208e866d6b47eb1.tar.gz spice-de86832c54141b00ac2884c73208e866d6b47eb1.tar.xz spice-de86832c54141b00ac2884c73208e866d6b47eb1.zip |
red_channel: cleanup of red_channel_client blocking methods
(1) receive timeout as a parameter.
(2) add a return value and pass the handling
of failures to the calling routine.
Diffstat (limited to 'server/dcc.h')
-rw-r--r-- | server/dcc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/dcc.h b/server/dcc.h index ef59582e..fe6e4e59 100644 --- a/server/dcc.h +++ b/server/dcc.h @@ -13,6 +13,7 @@ #define PALETTE_CACHE_HASH_KEY(id) ((id) & PALETTE_CACHE_HASH_MASK) #define CLIENT_PALETTE_CACHE_SIZE 128 +#define DISPLAY_CLIENT_SHORT_TIMEOUT 15000000000ULL //nano #define DISPLAY_CLIENT_TIMEOUT 30000000000ULL //nano #define DISPLAY_CLIENT_MIGRATE_DATA_TIMEOUT 10000000000ULL //nano, 10 sec #define DISPLAY_CLIENT_RETRY_INTERVAL 10000 //micro |