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:
Alby96andClaude Opus 5.5 committed 2026-10-16 14:56:24 +02:00
1 parent 34d03051f5
commit 43b6871cdc
228 files changed
+3535 -793

No files matched your search

+13 -5
View File
@@ -96,9 +96,13 @@
<data name="Admin.Dashboard.Of" xml:space="preserve"><value>od {0}</value></data>
<data name="Admin.Dashboard.Online" xml:space="preserve"><value>v omrežju</value></data>
<data name="Admin.Dashboard.Originals" xml:space="preserve"><value>izvirniki {0}</value></data>
<data name="Admin.Dashboard.Parallelism.few" xml:space="preserve"><value>{0} fotografije hkrati</value></data>
<data name="Admin.Dashboard.Parallelism.one" xml:space="preserve"><value>{0} fotografija hkrati</value></data>
<data name="Admin.Dashboard.Parallelism.other" xml:space="preserve"><value>{0} fotografij hkrati</value></data>
<data name="Admin.Dashboard.PhotoCount.few" xml:space="preserve"><value>{0} fotografije</value></data>
<data name="Admin.Dashboard.PhotoCount.one" xml:space="preserve"><value>{0} fotografija</value></data>
<data name="Admin.Dashboard.PhotoCount.other" xml:space="preserve"><value>{0} fotografij</value></data>
<data name="Admin.Dashboard.PriorityQueue" xml:space="preserve"><value>Prednostna čakalna vrsta</value></data>
<data name="Admin.Dashboard.Queue" xml:space="preserve"><value>Čakalna vrsta in zgodovina</value></data>
<data name="Admin.Dashboard.Queue.Tip" xml:space="preserve"><value>Odpri stran »Opravila«</value></data>
<data name="Admin.Dashboard.QueuedCount.few" xml:space="preserve"><value>{0} v čakalni vrsti</value></data>
@@ -115,9 +119,6 @@
<data name="Admin.Dashboard.WithoutProxies.few" xml:space="preserve"><value>{0} sekvence brez proxyjev</value></data>
<data name="Admin.Dashboard.WithoutProxies.one" xml:space="preserve"><value>{0} sekvenca brez proxyjev</value></data>
<data name="Admin.Dashboard.WithoutProxies.other" xml:space="preserve"><value>{0} sekvenc brez proxyjev</value></data>
<data name="Admin.Dashboard.WorkerCount.few" xml:space="preserve"><value>{0} delovni procesi</value></data>
<data name="Admin.Dashboard.WorkerCount.one" xml:space="preserve"><value>{0} delovni proces</value></data>
<data name="Admin.Dashboard.WorkerCount.other" xml:space="preserve"><value>{0} delovnih procesov</value></data>
<data name="Admin.Error.Unreachable" xml:space="preserve"><value>Strežnik se ni odzval; poskusite znova.</value></data>
<data name="Admin.Job.Kind.Adopt" xml:space="preserve"><value>Prevzem</value></data>
<data name="Admin.Job.Kind.DeepAnalyse" xml:space="preserve"><value>Poglobljena analiza</value></data>
@@ -292,6 +293,8 @@
<data name="Admin.Settings.HttpsPort.Tip" xml:space="preserve"><value>Vrata API-ja prek TLS za odjemalce Titano</value></data>
<data name="Admin.Settings.JobHistoryDays" xml:space="preserve"><value>Zgodovina opravil (dni)</value></data>
<data name="Admin.Settings.JobHistoryDays.Tip" xml:space="preserve"><value>Koliko dni se hranijo končana opravila</value></data>
<data name="Admin.Settings.JobPriority.Tip" xml:space="preserve"><value>Raven za »{0}« v prednostni čakalni vrsti: višja raven se izvede prej in začasno ustavi nižje</value></data>
<data name="Admin.Settings.Jobs" xml:space="preserve"><value>Opravila</value></data>
<data name="Admin.Settings.Language" xml:space="preserve"><value>Jezik</value></data>
<data name="Admin.Settings.Language.Tip" xml:space="preserve"><value>Jezik sporočil strežnika, kadar odjemalec ne zahteva nobenega</value></data>
<data name="Admin.Settings.Limits" xml:space="preserve"><value>Omejitve in hramba</value></data>
@@ -299,8 +302,15 @@
<data name="Admin.Settings.MaxUploadMb" xml:space="preserve"><value>Največja datoteka (MB)</value></data>
<data name="Admin.Settings.MaxUploadMb.Tip" xml:space="preserve"><value>Največja sprejeta posamezna naložena datoteka</value></data>
<data name="Admin.Settings.Network" xml:space="preserve"><value>Omrežje in TLS</value></data>
<data name="Admin.Settings.Parallelism" xml:space="preserve"><value>Vzporednost</value></data>
<data name="Admin.Settings.Parallelism.Tip" xml:space="preserve"><value>Število fotografij, ki jih opravilo v teku obdeluje hkrati; opravila se izvajajo eno za drugim</value></data>
<data name="Admin.Settings.PemMissing" xml:space="preserve"><value>Datoteke PEM ni bilo mogoče najti; vnesite njeno celotno pot na strežniku.</value></data>
<data name="Admin.Settings.PemOnly.Tip" xml:space="preserve"><value>Uporablja se samo v načinu »Lastno potrdilo«</value></data>
<data name="Admin.Settings.Priority.High" xml:space="preserve"><value>Visoka</value></data>
<data name="Admin.Settings.Priority.Low" xml:space="preserve"><value>Nizka</value></data>
<data name="Admin.Settings.Priority.Normal" xml:space="preserve"><value>Običajna</value></data>
<data name="Admin.Settings.PriorityQueue" xml:space="preserve"><value>Prednostna čakalna vrsta</value></data>
<data name="Admin.Settings.PriorityQueue.Tip" xml:space="preserve"><value>Vklopljena: opravilo višje ravni brez vprašanja začasno ustavi opravilo v teku, ki se nato samo nadaljuje. Izklopljena: opravila čakajo, da pridejo na vrsto</value></data>
<data name="Admin.Settings.ProxyBypassed" xml:space="preserve"><value>Ne prek proxyja</value></data>
<data name="Admin.Settings.ProxyBypassed.Tip" xml:space="preserve"><value>Način TLS je »Obratni proxy«, vendar ta stran ni prišla prek zaupanja vrednega proxyja po HTTPS. Odprite jo prek svojega proxyja ali dodajte naslov proxyja v TITANO_TRUSTED_PROXIES.</value></data>
<data name="Admin.Settings.Restart" xml:space="preserve"><value>Potreben vnovični zagon</value></data>
@@ -321,8 +331,6 @@
<data name="Admin.Settings.TokenLifetimeDays.Tip" xml:space="preserve"><value>Koliko dni ostane odjemalec vpisan, če ga ne uporabljate</value></data>
<data name="Admin.Settings.UploadRetentionHours" xml:space="preserve"><value>Opuščeno po (h)</value></data>
<data name="Admin.Settings.UploadRetentionHours.Tip" xml:space="preserve"><value>Število ur, po katerem se nedokončana nalaganja zavržejo</value></data>
<data name="Admin.Settings.Workers" xml:space="preserve"><value>Delovni procesi</value></data>
<data name="Admin.Settings.Workers.Tip" xml:space="preserve"><value>Število opravil, ki jih ta strežnik izvaja hkrati</value></data>
<data name="Admin.SignOut" xml:space="preserve"><value>Izpis</value></data>
<data name="Admin.SignOut.Tip" xml:space="preserve"><value>Izpiši se iz skrbniške plošče</value></data>
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Preklopi med svetlo in temno temo</value></data>