Skip to content

Commit

Permalink
* Increase timeouts from 15 to 40 seconds throughout
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed May 17, 2010
1 parent 26d9413 commit 0665e12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dssi-vst_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion remotepluginclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down
2 changes: 1 addition & 1 deletion remotevstclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ RemoteVSTClient::queryPlugins(std::vector<PluginRecord> &plugins)
pfd.fd = fd;
pfd.events = POLLIN;
int sec;
int timeout = 15;
int timeout = 40;

for (sec = 0; sec < timeout; ++sec) {

Expand Down

0 comments on commit 0665e12

Please sign in to comment.