fix: if syncing manual, set latest period to value of getCurrentPeriod() before optimistic update
This commit is contained in:
parent
4490d386b3
commit
e742ec8b64
|
@ -55,6 +55,7 @@ export default class Client extends BaseClient {
|
|||
this.booted = true;
|
||||
this.emit("synced");
|
||||
await init("herumi");
|
||||
this._latestPeriod = this.getCurrentPeriod();
|
||||
|
||||
await this.getLatestExecution(false);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue