同步任务BUG修复
This commit is contained in:
parent
1983778d22
commit
9ca95224ae
|
@ -76,7 +76,7 @@ namespace Falcon.SugarApi.BackTask
|
|||
};
|
||||
action = () => {
|
||||
OnStart(this);
|
||||
while (!TokenSource.Token.IsCancellationRequested) {
|
||||
while (true) {
|
||||
Thread.Sleep(TimeSpan.FromSeconds(RunTimespan));
|
||||
try {
|
||||
if (!Run()) break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user