Would it be possible to make the nightly memory consolidation hour configurable?
I maintainer di solito rispondono entro 1 giorno
@wunsir ci sta già lavorando.
Dal 22/11/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- node.js, typescript
- Ambito
- backend
Direzione di ricerca
Start in apps/node-services/src/memory/scheduler.ts, where the daily consolidation task is only pushed when local.hour is 0. Before touching it, read the two open linked pull requests (#467 and #471) to see whether they already cover the configurable hour and the catch-up run. Done would mean the hour is configurable with a default of 0 and a missed midnight slot runs daily on the next hourly tick, with the scheduler's tests covering both cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi, and thanks for Linger — I've been using it daily and the memory/wiki side is the part I like most.
The situation
When I read through apps/node-services/src/memory/scheduler.ts, it looks like the full daily consolidation only gets scheduled when the local hour is exactly midnight:
// The midnight slot closes yesterday; 01:00 resumes today's sessions.
...
if (local.hour !== 0) return tasks;
tasks.push({ input: { task: "daily", date: closedDate, ... }, reason: "daily", ... });
All the other hourly ticks appear to run only the incremental wiki task. I couldn't find a setting, env var or UI control for this hour — sorry if I missed one.
Why I'm asking
My laptop is on a schedule that cuts network access at 23:30, and the consolidation needs a cloud model. So in practice that nightly run usually fails for me and the day's memory doesn't get consolidated. Keeping the machine online past midnight just for this isn't really an option for me.
A possible direction
Would you consider making the consolidation hour configurable (defaulting to 0, so nothing changes for anyone else), and possibly running the daily task on the first hourly tick at or after that hour if the midnight slot was missed? That second part would also help anyone whose machine was simply asleep at midnight.
Happy to test a patch on my machine (Arch Linux, Linger 0.1.6) if that's useful.
- Lingua principale
- TypeScript
- Stelle
- 3.8k
- Fork
- 360
- Merge medio
- 8h 10m
- PR unite (30g)
- 540
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simplexai-labs/linger
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
simplexai-labs/linger#904 ·
I maintainer di solito rispondono entro 1 giorno
-
Local model JIT load waits ~22 s for a concurrency probe that always ends unmeasured and is never cachedForse già presa @oldwinter53 l’ha presa oggi. Apertabug
simplexai-labs/linger#896 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(agents): let an Agent choose runtime, model and reasoning effort when it creates an AgentAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#888 ·
I maintainer di solito rispondono entro 1 giorno
-
Hand-patches to the protected runtime are silently discarded on upgrade, with no supported overrideAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#883 ·
I maintainer di solito rispondono entro 1 giorno
-
Daily memory report silently never runs: 5-minute step ceiling plus a stuck in-memory #scheduled setAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
simplexai-labs/linger#881 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di simplexai-labs/linger
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MetaMask/eth-phishing-detect#317371 ·
I maintainer di solito rispondono entro 1 giorno
-
android:player ios:player
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
erkamyaman/rust-anything#963 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ZdruzenieSTROM/webstrom-frontend#934 ·
I maintainer di solito rispondono entro 1 giorno
-
bug(worker): detector run is marked failed and never retried when span download failsForse già presa @jagrutgarg l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
traceroot-ai/traceroot#3434 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno