summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c
index 0c9b01e..b77773d 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -156,7 +156,7 @@ static void sendmmapdata( const int64 s, char *buffer, size_t size ) {
156 156
157 /* writeable sockets timeout after twice the pool timeout 157 /* writeable sockets timeout after twice the pool timeout
158 which defaults to 5 minutes (e.g. after 10 minutes) */ 158 which defaults to 5 minutes (e.g. after 10 minutes) */
159 taia_uint( &t, (unsigned int)(g_now + 2 * OT_POOLS_TIMEOUT) ); io_timeout( s, t ); 159 taia_uint( &t, (unsigned int)(g_now + OT_CLIENT_TIMEOUT_SEND) ); io_timeout( s, t );
160 io_dontwantread( s ); 160 io_dontwantread( s );
161 io_wantwrite( s ); 161 io_wantwrite( s );
162} 162}
@@ -187,7 +187,7 @@ static void senddata( const int64 s, char *buffer, size_t size ) {
187 187
188 /* writeable sockets timeout after twice the pool timeout 188 /* writeable sockets timeout after twice the pool timeout
189 which defaults to 5 minutes (e.g. after 10 minutes) */ 189 which defaults to 5 minutes (e.g. after 10 minutes) */
190 taia_uint( &t, (unsigned int)(g_now + 2 * OT_POOLS_TIMEOUT) ); io_timeout( s, t ); 190 taia_uint( &t, (unsigned int)(g_now + OT_CLIENT_TIMEOUT_SEND) ); io_timeout( s, t );
191 io_dontwantread( s ); 191 io_dontwantread( s );
192 io_wantwrite( s ); 192 io_wantwrite( s );
193 } 193 }