1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 06:35:28 +02:00

[225902] changing timeout

This commit is contained in:
David McKnight 2008-04-09 03:24:56 +00:00
parent 72803bf0f0
commit 1952489e30
2 changed files with 2 additions and 2 deletions

View file

@ -285,7 +285,7 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
Display display = Display.getCurrent();
// Prevent infinite looping by introducing a threshold for wait
int WaitThreshold = 600; //default. sleep(100ms) for 600 times
int WaitThreshold = 50; //default. sleep(100ms) for 600 times
if ( wait > 0 )
WaitThreshold = wait*10; // 1 second means 10 sleep(100ms)
else if ( wait == -1 ) // force a diagnostic

View file

@ -254,7 +254,7 @@ public class DStoreStatusMonitor implements IDomainListener
// Prevent infinite looping by introducing a threshold for wait
int WaitThreshold = 200; //default. sleep(100ms) for 60 times
int WaitThreshold = 50; //default. sleep(100ms) for 60 times
if ( wait > 0 )
WaitThreshold = wait*10; // 1 second means 10 sleep(100ms)
else if ( wait == -1 ) // force a diagnostic