Skip to content

The agent that grows with you

fix(desktop): keep an interrupted send for a week, not a day

Tekniumdc45a008a609
diff --git a/apps/desktop/src/store/composer-outbox.ts b/apps/desktop/src/store/composer-outbox.ts
index 1567d02c459..861f2ffd28c 100644
--- a/apps/desktop/src/store/composer-outbox.ts
+++ b/apps/desktop/src/store/composer-outbox.ts
@@ -20,8 +20,9 @@ import { sendLanded } from './composer-outbox-landed'
// send cleared the composer). Then the entry hands that draft its identity instead of being offered
// later beside it: two copies of one send, each with its own id, would both run.
const PREFIX = 'hermes:composer-outbox:v1:'
-// An entry older than this is no longer a send the user is waiting on: dropped, never offered.
-const ENTRY_TTL_MS = 24 * 60 * 60_000
+// An entry older than this is no longer a send the user is waiting on: dropped, never offered. A week,
+// so a send cut off before a weekend away still comes back.
+const ENTRY_TTL_MS = 7 * 24 * 60 * 60_000
interface OutboxEntry {
scope: string