8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Reduce XNET read\write wait timeout. It allows faster detect failures on the other part of connection

This commit is contained in:
hvlad 2007-09-13 13:24:59 +00:00
parent 3d194ebfcc
commit 48f6c27d24

View File

@ -41,7 +41,7 @@
const DWORD XNET_CONNECT_TIMEOUT = 10000;
// Receive wait timeout (ms)
const DWORD XNET_RECV_WAIT_TIMEOUT = 10000;
const DWORD XNET_RECV_WAIT_TIMEOUT = 500;
// Send wait timeout (ms)
const DWORD XNET_SEND_WAIT_TIMEOUT = XNET_RECV_WAIT_TIMEOUT;