Changeset 1784


Ignore:
Timestamp:
2/10/2010 2:20:34 AM (5 years ago)
Author:
lowjoel
Message:
  • When connecting to a RemoteExecutor? instance, wait for 3 seconds instead of 0.5 seconds - the old timeout seemed too short for new instances to start and wait for connections (and WaitForInputIdle? doesn't seem to wait completely)
  • When starting the new Eraser process, yield the current thread's timeslice to allow the new instance to start
Location:
branches/eraser6/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser.Manager/RemoteExecutor.cs

    r1719 r1784  
    327327            try 
    328328            { 
    329                 client.Connect(500); 
     329                client.Connect(3000); 
    330330            } 
    331331            catch (TimeoutException) 
  • branches/eraser6/6.0/Eraser/Program.cs

    r1744 r1784  
    12291229                        Process eraserInstance = Process.Start( 
    12301230                            Assembly.GetExecutingAssembly().Location, "--quiet"); 
     1231                        Thread.Sleep(0); 
    12311232                        eraserInstance.WaitForInputIdle(); 
    12321233 
Note: See TracChangeset for help on using the changeset viewer.