Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Run diff generation in short-lived task process - #148

Merged
ericmj merged 1 commit into
mainfrom
ericmj/run-diff-processing-in-task
Apr 6, 2026
Merged

Run diff generation in short-lived task process#148
ericmj merged 1 commit into
mainfrom
ericmj/run-diff-processing-in-task

Conversation

@ericmj

@ericmj ericmj commented Apr 6, 2026

Copy link
Copy Markdown
Member

LiveView processes are long-lived, so their heap memory accumulates. By running diff generation in a task under Task.Supervisor, the task's entire heap is freed immediately on exit and TmpDir cleanup triggers automatically via the :DOWN monitor.

LiveView processes are long-lived, so their heap memory accumulates.
By running diff generation in a task under Task.Supervisor, the
task's entire heap is freed immediately on exit and TmpDir cleanup
triggers automatically via the :DOWN monitor.
@ericmj
ericmj force-pushed the ericmj/run-diff-processing-in-task branch from e73d401 to 6727716 Compare April 6, 2026 21:40
@ericmj
ericmj merged commit 4dcaefa into main Apr 6, 2026
12 checks passed
@ericmj
ericmj deleted the ericmj/run-diff-processing-in-task branch April 6, 2026 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant