Submit first try to IoExecutor directly.

This commit is contained in:
akwizgran
2022-05-25 12:45:23 +01:00
parent 7e249ecf70
commit 0c22c25995
2 changed files with 18 additions and 30 deletions

View File

@@ -59,8 +59,7 @@ class MailboxApiCallerImpl implements MailboxApiCaller {
private void start() {
synchronized (lock) {
if (cancelled) throw new AssertionError();
scheduledTask = taskScheduler.schedule(this::callApi,
ioExecutor, 0, MILLISECONDS);
ioExecutor.execute(this::callApi);
}
}