From b9d85c12709186363b213335dd8d96a321067823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 27 Nov 2009 11:48:27 +0000 Subject: [PATCH] * 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 --- src/kits/app/Roster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/app/Roster.cpp b/src/kits/app/Roster.cpp index 8a86bb43d8..1c2f6bb6da 100644 --- a/src/kits/app/Roster.cpp +++ b/src/kits/app/Roster.cpp @@ -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);