proxmox/proxmox-rest-server/src
Fabian Grünbichler 57c8242dc2 rest-server: close race window when updating worker task count
this mimics how the count is updated when spawning a new task - the lock scope
needs to cover the count update itself, else there's a race when multiple
worker's log their result at the same time..

Co-developed-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-12-02 16:54:52 +01:00
..
api_config.rs rest-server: add custom handlebars escape fn 2024-11-25 16:34:30 +01:00
compression.rs rest server: rust fmt 2022-04-06 16:55:39 +02:00
connection.rs rest-server: drop log intended for debugging again 2024-11-15 10:29:33 +01:00
environment.rs rest-server: drop Router from ApiConfig 2023-03-02 16:13:55 +01:00
formatter.rs router, rest-server: add StreamSync and StreamAsync API handlers 2024-09-05 14:15:11 +02:00
h2service.rs router, rest-server: add StreamSync and StreamAsync API handlers 2024-09-05 14:15:11 +02:00
lib.rs rest-server: remove lazy_static dependency 2024-08-14 10:33:42 +02:00
rest.rs rest-server: utilize flush_window for streams 2024-09-05 14:15:11 +02:00
worker_task.rs rest-server: close race window when updating worker task count 2024-12-02 16:54:52 +01:00