* Increased reply timeout considerably: with the amount of debug output the

registrar currently spits out, the net_server, and the debug_server sometimes
  didn't receive a reply in time, causing them not to start.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34304 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-11-27 11:48:27 +00:00
parent 4fb9da18e0
commit b9d85c1270

View File

@ -2783,12 +2783,12 @@ BRoster::_InitMessengers()
B_PREFERRED_TOKEN);
// ask for the MIME messenger
// Generous 1s + 1s timeouts. It could actually be synchronous, but
// Generous 1s + 5s timeouts. It could actually be synchronous, but
// timeouts allow us to debug the registrar main thread.
BMessage request(B_REG_GET_MIME_MESSENGER);
BMessage reply;
status_t error = fMessenger.SendMessage(&request, &reply, 1000000LL,
1000000LL);
5000000LL);
if (error == B_OK && reply.what == B_REG_SUCCESS) {
DBG(OUT(" got reply from roster\n"));
reply.FindMessenger("messenger", &fMimeMessenger);