From 0665e128dfc1185a9d082c8d5895c7fc8163c8a1 Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Mon, 17 May 2010 17:19:55 +0100 Subject: [PATCH] * Increase timeouts from 15 to 40 seconds throughout --- dssi-vst_gui.cpp | 2 +- remotepluginclient.cpp | 2 +- remotevstclient.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dssi-vst_gui.cpp b/dssi-vst_gui.cpp index f66ce06..742cbee 100644 --- a/dssi-vst_gui.cpp +++ b/dssi-vst_gui.cpp @@ -281,7 +281,7 @@ main(int argc, char **argv) if (!ready) { struct timeval tv1; gettimeofday(&tv1, NULL); - if (tv1.tv_sec > tv.tv_sec + 15) { + if (tv1.tv_sec > tv.tv_sec + 40) { cerr << "dssi-vst_gui: No contact from plugin -- timed out on startup" << endl; lo_send(hostaddr, (std::string(hostpath) + "/exiting").c_str(), diff --git a/remotepluginclient.cpp b/remotepluginclient.cpp index 1563c90..1d08f51 100644 --- a/remotepluginclient.cpp +++ b/remotepluginclient.cpp @@ -109,7 +109,7 @@ RemotePluginClient::syncStartup() // for this and the process fd anyway. bool connected = false; - int timeout = 15; + int timeout = 40; for (int attempt = 0; attempt < timeout; ++attempt) { diff --git a/remotevstclient.cpp b/remotevstclient.cpp index 311f82a..7fbcbae 100644 --- a/remotevstclient.cpp +++ b/remotevstclient.cpp @@ -360,7 +360,7 @@ RemoteVSTClient::queryPlugins(std::vector &plugins) pfd.fd = fd; pfd.events = POLLIN; int sec; - int timeout = 15; + int timeout = 40; for (sec = 0; sec < timeout; ++sec) {