Changeset 2238
- Timestamp:
- 8/4/2010 10:39:59 AM (3 years ago)
- Location:
- trunk/eraser
- Files:
-
- 2 edited
-
Eraser.Manager/RemoteExecutor.cs (modified) (1 diff)
-
Eraser/Program.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.Manager/RemoteExecutor.cs
r2030 r2238 336 336 try 337 337 { 338 client.Connect( 10000);338 client.Connect(0); 339 339 } 340 340 catch (TimeoutException) -
trunk/eraser/Eraser/Program.cs
r2236 r2238 284 284 eraserInstance.WaitForInputIdle(); 285 285 286 result.Run(); 287 if (!result.IsConnected) 288 throw new IOException(S._("Eraser cannot connect to the running " + 289 "instance for erasures.")); 286 //Wait for the server to be initialised. 287 for (int i = 0; !result.IsConnected; ++i) 288 { 289 Thread.Sleep(100); 290 result.Run(); 291 292 //After 10s, we should probably give up. 293 if (i > 100) 294 throw new IOException(S._("Eraser cannot connect to the running " + 295 "instance for erasures.")); 296 } 290 297 } 291 298
Note: See TracChangeset
for help on using the changeset viewer.
