feat: jobs run one at a time, parallelism per photo and a priority queue
Owner review 1, phase 2 (docs/requests/2026-10-15-owner-review-1.md, R2). Jobs now run one at a time on the desktop and on the server. Parallelism (Settings > Rendering, TITANO_PARALLELISM) is how many photos the running job processes at once: thumbnail and proxy passes draw that many photos together and still write the pack and checkpoints in frame order, decode tiers are probed that many at a time, the deep analysis measures that many frames and a render decodes that many ahead. Wherever originals are developed whole (TIFF, PNG, RAW without a usable preview), fewer run at once within the memory budget, which the running job now has whole; the server's frame window is sized to the host instead of 1 GiB. A new job waits its turn and pausing the running job starts the next one. An optional priority queue gives each job kind a level (renders, imports and downloads high, verifies and proxies low by default): a queued job of a higher level pauses the running one without asking, and that job goes back to the queue with its checkpoint and resumes by itself afterwards. Jobs of the same level, and a job's own follow-ups, never interrupt it. The Jobs screen and the admin panel show the parallelism and the queue; Settings > Rendering and the admin panel's Settings set them, at once. TITANO_WORKERS and the Workers key of server.json still set the parallelism (1 to 64, with a warning at start for the variable). Titano.Tools gains i18n prune, which removed the renamed keys from the 36 machine-translated languages; the new strings are translated in all 38. Found while testing: uploads and imports failed when a pass read the sidecar while they wrote it (atomic writes now retry the rename while a reader holds the file, and never for a read-only one), and taking a lease just released while another process read it failed on Windows (the create now waits for the reader). Five adversarial review rounds checked the phase before this commit. Also updates BRIEF (12.8, 14.6, 14.8, 14.9, 24), DECISIONS, CHANGELOG, ARCHITECTURE, STATUS, the request file and the compose/Unraid templates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
34d03051f5
commit
43b6871cdc
228 files changed
+3535
-793
No files matched your search
+29
-3
@@ -167,6 +167,26 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
sequence's frames changed since the settings' frame positions were written. `GET /api/v1/sequences/{id}/manifest`
|
||||
returns frames, frames version and settings of one frames version.
|
||||
|
||||
### Changed
|
||||
- Owner review 1 (2026-10-16, R2, `docs/requests/2026-10-15-owner-review-1.md`):
|
||||
- jobs run one at a time, on the desktop and on the server. Settings › Rendering › Parallelism (server:
|
||||
`TITANO_PARALLELISM`, admin panel › Settings › Jobs) is now how many photos the running job processes at once:
|
||||
thumbnail and proxy passes draw that many photos together, decode tiers are probed that many at a time, the deep
|
||||
analysis measures that many frames and a render decodes that many ahead (fewer wherever large originals are
|
||||
developed whole, within the memory budget); the server's renders get a frame window sized to the host (a quarter
|
||||
of the memory available) instead of 1 GiB; the running job has the whole memory budget;
|
||||
- a new job waits its turn, and pausing the running job lets the next one start. An optional priority queue
|
||||
(Settings › Rendering, admin panel › Settings › Jobs, `TITANO_PRIORITY_QUEUE`) gives each job kind a level; by
|
||||
default renders, imports and downloads are high and verifies and proxies low. A queued job of a higher level pauses
|
||||
the running one without asking, and that one resumes by itself afterwards from its checkpoint;
|
||||
- the Jobs screen shows "8 photos at once", and a Priority queue chip while the queue is on; the admin dashboard
|
||||
shows the parallelism;
|
||||
- `Titano.Tools i18n prune` removes from the translations the keys English no longer has.
|
||||
|
||||
### Deprecated
|
||||
- `TITANO_WORKERS` and the `Workers` key of `server.json` set the parallelism (photos the running job processes at
|
||||
once, 1 to 64); the server logs a warning at start when the variable is set. Use `TITANO_PARALLELISM`.
|
||||
|
||||
### Fixed
|
||||
- Owner review 1 (2026-10-16, `docs/requests/2026-10-15-owner-review-1.md`):
|
||||
- thumbnail and proxy jobs over several sequences failed after 10–20 minutes with "TimeSpan overflowed" and then
|
||||
@@ -178,7 +198,13 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- GoPro DNGs converted by Lightroom or DNG Converter were treated as GPR and read only through their 8-bit embedded
|
||||
preview, and DNGs Windows' preview-only DNG decoder read were reported as decoded natively. Videos now develop them
|
||||
natively at 16 bits, analyses and the editor preview use the embedded preview when it is large enough, and the
|
||||
archive's existing frames are reclassified by the next light analysis (R4).
|
||||
archive's existing frames are reclassified by the next light analysis (R4);
|
||||
- an upload or a card import could fail with "Access to the path is denied" (server: 503 `commit_failed`) when a
|
||||
thumbnail or proxy pass, an analysis or a scan was reading the sequence's sidecar at that moment: the write now
|
||||
waits a moment for the reader (found while testing phase 2);
|
||||
- taking a sequence's lease could fail with "Access to the path is denied" when the previous holder had just released
|
||||
it while another process was reading it (Windows keeps the file pending deletion meanwhile): the lease is now taken
|
||||
once the reader lets go (found while testing phase 2).
|
||||
- Opening the repository in VS Code with C# Dev Kit before the first build listed MSB3073 for Titano, the Uploader
|
||||
and Setup: design-time builds no longer generate the program icons, and log WPF's MC1000 about projects not built
|
||||
yet as a message.
|
||||
@@ -204,8 +230,8 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- Release workflow: the server image and its `:latest` tag were pushed before the Windows tests passed, and
|
||||
publishing an older tag again moved `:latest` back; the image now follows the tests and `:latest` the newest
|
||||
stable release. Stable release notes started at the last release candidate instead of the previous stable tag.
|
||||
- Settings › Rendering quality, parallelism and background priority had no effect on jobs. Parallelism Auto is now the
|
||||
engine's half of the logical cores, and concurrent jobs share the memory budget.
|
||||
- Settings › Rendering quality, parallelism and background priority had no effect on jobs. Parallelism Auto is now half
|
||||
the logical cores (owner review 1 makes it the photos the running job processes at once; see Changed).
|
||||
- A restore staged in Settings › Advanced now runs before the index opens, so it recovers an index that no longer
|
||||
opens. A copy failing quick_check is set aside before any backup is made, and a restored copy is never applied
|
||||
twice.
|
||||
|
||||
Reference in new issue
Block a user