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
+12
-4
@@ -92,8 +92,11 @@
|
||||
<data name="Admin.Dashboard.Of" xml:space="preserve"><value>จาก {0}</value></data>
|
||||
<data name="Admin.Dashboard.Online" xml:space="preserve"><value>ออนไลน์</value></data>
|
||||
<data name="Admin.Dashboard.Originals" xml:space="preserve"><value>ต้นฉบับ {0}</value></data>
|
||||
<data name="Admin.Dashboard.Parallelism.one" xml:space="preserve"><value>ครั้งละ {0} ภาพ</value></data>
|
||||
<data name="Admin.Dashboard.Parallelism.other" xml:space="preserve"><value>ครั้งละ {0} ภาพ</value></data>
|
||||
<data name="Admin.Dashboard.PhotoCount.one" xml:space="preserve"><value>{0} ภาพ</value></data>
|
||||
<data name="Admin.Dashboard.PhotoCount.other" xml:space="preserve"><value>{0} ภาพ</value></data>
|
||||
<data name="Admin.Dashboard.PriorityQueue" xml:space="preserve"><value>คิวตามลำดับความสำคัญ</value></data>
|
||||
<data name="Admin.Dashboard.Queue" xml:space="preserve"><value>คิวและประวัติ</value></data>
|
||||
<data name="Admin.Dashboard.Queue.Tip" xml:space="preserve"><value>เปิดหน้างาน</value></data>
|
||||
<data name="Admin.Dashboard.QueuedCount.one" xml:space="preserve"><value>อยู่ในคิว {0}</value></data>
|
||||
@@ -107,8 +110,6 @@
|
||||
<data name="Admin.Dashboard.Uploads" xml:space="preserve"><value>การอัปโหลด · 30 วันล่าสุด</value></data>
|
||||
<data name="Admin.Dashboard.WithoutProxies.one" xml:space="preserve"><value>{0} ซีเควนซ์ไม่มีพร็อกซี</value></data>
|
||||
<data name="Admin.Dashboard.WithoutProxies.other" xml:space="preserve"><value>{0} ซีเควนซ์ไม่มีพร็อกซี</value></data>
|
||||
<data name="Admin.Dashboard.WorkerCount.one" xml:space="preserve"><value>เวิร์กเกอร์ {0} ตัว</value></data>
|
||||
<data name="Admin.Dashboard.WorkerCount.other" xml:space="preserve"><value>เวิร์กเกอร์ {0} ตัว</value></data>
|
||||
<data name="Admin.Error.Unreachable" xml:space="preserve"><value>เซิร์ฟเวอร์ไม่ตอบสนอง โปรดลองอีกครั้ง</value></data>
|
||||
<data name="Admin.Job.Kind.Adopt" xml:space="preserve"><value>ลงทะเบียน</value></data>
|
||||
<data name="Admin.Job.Kind.DeepAnalyse" xml:space="preserve"><value>การวิเคราะห์เชิงลึก</value></data>
|
||||
@@ -279,6 +280,8 @@
|
||||
<data name="Admin.Settings.HttpsPort.Tip" xml:space="preserve"><value>พอร์ตของ API ผ่าน TLS สำหรับไคลเอนต์ Titano</value></data>
|
||||
<data name="Admin.Settings.JobHistoryDays" xml:space="preserve"><value>ประวัติงาน (วัน)</value></data>
|
||||
<data name="Admin.Settings.JobHistoryDays.Tip" xml:space="preserve"><value>จำนวนวันที่เก็บงานที่เสร็จแล้วไว้</value></data>
|
||||
<data name="Admin.Settings.JobPriority.Tip" xml:space="preserve"><value>ระดับของ “{0}” ในคิวตามลำดับความสำคัญ: ระดับที่สูงกว่าจะทำงานก่อนและหยุดระดับที่ต่ำกว่าชั่วคราว</value></data>
|
||||
<data name="Admin.Settings.Jobs" xml:space="preserve"><value>งาน</value></data>
|
||||
<data name="Admin.Settings.Language" xml:space="preserve"><value>ภาษา</value></data>
|
||||
<data name="Admin.Settings.Language.Tip" xml:space="preserve"><value>ภาษาของข้อความจากเซิร์ฟเวอร์เมื่อไคลเอนต์ไม่ได้ระบุภาษา</value></data>
|
||||
<data name="Admin.Settings.Limits" xml:space="preserve"><value>ขีดจำกัดและการเก็บรักษา</value></data>
|
||||
@@ -286,8 +289,15 @@
|
||||
<data name="Admin.Settings.MaxUploadMb" xml:space="preserve"><value>ไฟล์สูงสุด (MB)</value></data>
|
||||
<data name="Admin.Settings.MaxUploadMb.Tip" xml:space="preserve"><value>ขนาดสูงสุดของการอัปโหลดไฟล์เดียวที่ยอมรับ</value></data>
|
||||
<data name="Admin.Settings.Network" xml:space="preserve"><value>เครือข่ายและ TLS</value></data>
|
||||
<data name="Admin.Settings.Parallelism" xml:space="preserve"><value>การประมวลผลแบบขนาน</value></data>
|
||||
<data name="Admin.Settings.Parallelism.Tip" xml:space="preserve"><value>จำนวนภาพที่งานที่กำลังทำงานประมวลผลพร้อมกัน งานจะทำทีละงาน</value></data>
|
||||
<data name="Admin.Settings.PemMissing" xml:space="preserve"><value>ไม่พบไฟล์ PEM โปรดป้อนพาธแบบเต็มของไฟล์บนเซิร์ฟเวอร์</value></data>
|
||||
<data name="Admin.Settings.PemOnly.Tip" xml:space="preserve"><value>ใช้เฉพาะในโหมดใบรับรองของตนเอง</value></data>
|
||||
<data name="Admin.Settings.Priority.High" xml:space="preserve"><value>สูง</value></data>
|
||||
<data name="Admin.Settings.Priority.Low" xml:space="preserve"><value>ต่ำ</value></data>
|
||||
<data name="Admin.Settings.Priority.Normal" xml:space="preserve"><value>ปกติ</value></data>
|
||||
<data name="Admin.Settings.PriorityQueue" xml:space="preserve"><value>คิวตามลำดับความสำคัญ</value></data>
|
||||
<data name="Admin.Settings.PriorityQueue.Tip" xml:space="preserve"><value>เปิด: งานที่มีระดับสูงกว่าจะหยุดงานที่กำลังทำงานชั่วคราวโดยไม่ถาม แล้วงานนั้นจะทำงานต่อเองในภายหลัง ปิด: งานจะรอตามลำดับ</value></data>
|
||||
<data name="Admin.Settings.ProxyBypassed" xml:space="preserve"><value>ไม่ผ่านพร็อกซี</value></data>
|
||||
<data name="Admin.Settings.ProxyBypassed.Tip" xml:space="preserve"><value>โหมด TLS เป็นรีเวิร์สพร็อกซี แต่หน้านี้ไม่ได้ส่งผ่านพร็อกซีที่เชื่อถือได้ทาง HTTPS โปรดเปิดผ่านพร็อกซีของคุณ หรือเพิ่มที่อยู่ของพร็อกซีลงใน TITANO_TRUSTED_PROXIES</value></data>
|
||||
<data name="Admin.Settings.Restart" xml:space="preserve"><value>ต้องรีสตาร์ท</value></data>
|
||||
@@ -308,8 +318,6 @@
|
||||
<data name="Admin.Settings.TokenLifetimeDays.Tip" xml:space="preserve"><value>จำนวนวันที่ไคลเอนต์ยังคงลงชื่อเข้าใช้อยู่ได้โดยไม่มีการใช้งาน</value></data>
|
||||
<data name="Admin.Settings.UploadRetentionHours" xml:space="preserve"><value>ทิ้งหลังจาก (ชม.)</value></data>
|
||||
<data name="Admin.Settings.UploadRetentionHours.Tip" xml:space="preserve"><value>จำนวนชั่วโมงก่อนที่การอัปโหลดที่ยังไม่เสร็จจะถูกทิ้ง</value></data>
|
||||
<data name="Admin.Settings.Workers" xml:space="preserve"><value>เวิร์กเกอร์</value></data>
|
||||
<data name="Admin.Settings.Workers.Tip" xml:space="preserve"><value>จำนวนงานที่เซิร์ฟเวอร์นี้ทำพร้อมกัน</value></data>
|
||||
<data name="Admin.SignOut" xml:space="preserve"><value>ลงชื่อออก</value></data>
|
||||
<data name="Admin.SignOut.Tip" xml:space="preserve"><value>ลงชื่อออกจากแผงผู้ดูแลระบบ</value></data>
|
||||
<data name="Admin.Theme.Tip" xml:space="preserve"><value>สลับระหว่างโหมดสว่างและโหมดมืด</value></data>
|
||||
|
||||
Reference in new issue
Block a user