diff options
author | Nate Straz <nstraz@redhat.com> | 2008-01-03 14:35:45 +0000 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2008-09-23 09:37:47 -0400 |
commit | 7bd5eb7a1f260d504b8235968dc793abb6b023eb (patch) | |
tree | f16208b2873914283a104666fd4998b10bb21344 /btime_int.h | |
parent | 84da06013e185facd6782e6de229f34cf32cf01f (diff) | |
download | qarsh-7bd5eb7a1f260d504b8235968dc793abb6b023eb.tar.gz qarsh-7bd5eb7a1f260d504b8235968dc793abb6b023eb.tar.xz qarsh-7bd5eb7a1f260d504b8235968dc793abb6b023eb.zip |
Switch to using a select with a timeout instead of a loop
of recvfroms and sleeps in btime(). This makes it easier
to tune how long to wait for a heartbeat. Now I can get
heartbeats over my vpn connection.
Diffstat (limited to 'btime_int.h')
-rw-r--r-- | btime_int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/btime_int.h b/btime_int.h index b4d34ba..6872fce 100644 --- a/btime_int.h +++ b/btime_int.h @@ -26,7 +26,6 @@ #define BTIME_PORT 23456 #define BTIME_MSGLEN 128 #define MAX_RETRY 40 -#define RETRY_SLEEP 1000 #define COOKIE_RANDOM_PARTS 4 #define COOKIE_LEN (3 + (COOKIE_RANDOM_PARTS * sizeof(int32_t))) |