MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / persistJobQuiet

Method persistJobQuiet

tmp_admin/tmp_admin.ts:797–803  ·  view source on GitHub ↗
(key: string, job: TempAdminJob)

Source from the content-addressed store, hash-verified

795 }
796 }
797
798 private async restoreJobs(): Promise<void> {
799 const runtime = tryGetCurrentRuntime();
800 if (!runtime) return;
801
802 const db = await this.getDb();
803 await db.read();
804 if (!db.data) db.data = { jobs: {} };
805 if (!db.data.jobs) db.data.jobs = {};
806

Callers 1

scheduleRetryMethod · 0.95

Calls 2

persistJobMethod · 0.95
errorMethod · 0.80

Tested by

no test coverage detected