
RpcTargetDestroying Durable Object 130f15d64c383661002b1c10796016628280fda1f20c1557eb8ff89543479444
Alarm: null
✘ [ERROR] Uncaught Error: destroyedCreating DO tables (alarms, jobs, state) // this is logged from my DO's constructor
NOSENTRY SQLite alarm handler canceled with requestScheduledAlarm.; scheduledTime = 1761578532s; localAlarmState.orDefault(kj::UNIX_EPOCH) = 0ns; actorId = 130f15d64c383661002b1c10796016628280fda1f20c1557eb8ff89543479444ctx.idgetByName()getByName.get(DO.idFromName()0.128 GB-s * 3600 seconds_per_hour * 744 hours_in_month = 342_835 GB-s/month$12.50/million GB-s342_835/1_000_000*12.500.128 GB-s0.125GB-sasync destroy() {
// drop all tables
this.sql`DROP TABLE IF EXISTS state`;
this.sql`DROP TABLE IF EXISTS alarms`;
this.sql`DROP TABLE IF EXISTS jobs`;
// delete all alarms
try {
await this.ctx.storage.deleteAlarm();
await this.ctx.storage.deleteAll();
this.logger.info(`Destroying Durable Object ${this.ctx.id.toString()}`);
this.logger.info(`Alarm: ${await this.ctx.storage.getAlarm()}`);
this.ctx.abort("destroyed");
} catch (_) {}
}