Update for calcsticker
This commit is contained in:
@@ -134,7 +134,7 @@ namespace MarketData.Services
|
||||
// **********************************************************************************************************************************************************
|
||||
public async Task TaskCalcSticker(CommandArgs commandArgs)
|
||||
{
|
||||
int WAIT_TIME = 60000; // 1 minute intervals
|
||||
int WAIT_TIME_INTERVAL = 60000; // 1 minute intervals between checks
|
||||
if(commandArgs.Has("WAITFORCOMPLETION"))
|
||||
{
|
||||
String waitForCompletion = commandArgs.Get<String>("WAITFORCOMPLETION");
|
||||
@@ -143,7 +143,7 @@ namespace MarketData.Services
|
||||
while(Utility.IsProcessRunning("mk",processArguments))
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG,$"CALCSTICKER is waiting for items in the process completion list {commandArgs.Get<String>("WAITFORCOMPLETION")}");
|
||||
try{Thread.Sleep(WAIT_TIME);}catch(Exception){;}
|
||||
try{Thread.Sleep(WAIT_TIME_INTERVAL);}catch(Exception){;}
|
||||
}
|
||||
}
|
||||
CalcSticker();
|
||||
|
||||
Reference in New Issue
Block a user