Update for calcsticker

This commit is contained in:
2025-04-18 07:05:18 -04:00
parent 4b06bbf199
commit 53e84e765c
2 changed files with 17 additions and 46 deletions

View File

@@ -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();