Merge pull request #223 from siyy123/ver/1.12.2

Fix Akarin Slack Scheduler Thread.sleep() exception
This commit is contained in:
josephworks
2022-05-25 21:01:07 -07:00
committed by GitHub

View File

@@ -98,9 +98,10 @@ public class AkarinSlackScheduler extends Thread {
}
try {
Thread.sleep(100 - (System.currentTimeMillis() - startProcessTiming));
long sleepFixed = 100 - (System.currentTimeMillis() - startProcessTiming);
if (sleepFixed > 0) Thread.sleep(sleepFixed);
} catch (InterruptedException interrupted) {
;
continue;
}
}
}