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:
parent
72803bf0f0
commit
1952489e30
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue