Skip to content

Commit

Permalink
feat: mark done when finished recovering in the DB
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TungNguyen2a committed Dec 13, 2024
1 parent 7e210dc commit b7d4337
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/core/agent/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class Agent {
bootUrl: "",
});
this.markAgentStatus(true);

await this.syncWithKeria();
}

Expand All @@ -316,10 +316,12 @@ class Agent {
await this.identifiers.syncKeriaIdentifiers();
await this.credentials.syncACDCs();

// await this.basicStorage.save({
// id: MiscRecordId.PROCESS_RECOVERING,
// content: { value: true },
// });
await this.basicStorage.update(
new BasicRecord({
id: MiscRecordId.PROCESS_RECOVERING,
content: { value: false },
})
);
}

private async connectSignifyClient(): Promise<void> {
Expand Down

0 comments on commit b7d4337

Please sign in to comment.