Relaxed the timeout constraint a bit. Sometimes, when the server

was busy, booting failed because of that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15932 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2006-01-13 00:29:33 +00:00
parent 582d6d64ae
commit 76cd432c36
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@
#include <boot/net/UDP.h>
static const bigtime_t kRequestTimeout = 100000LL;
#if __BYTE_ORDER == __LITTLE_ENDIAN
static inline
@ -260,7 +262,7 @@ RemoteDisk::_SendRequest(UDPSocket *socket, ip_addr_t serverAddress,
return error;
// receive reply
bigtime_t timeout = system_time() + 10000LL;
bigtime_t timeout = system_time() + kRequestTimeout;
do {
UDPPacket *packet;
error = socket->Receive(&packet, timeout - system_time());