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