From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 9264B1FF15F for ; Mon, 2 Dec 2024 10:15:16 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6005712290; Mon, 2 Dec 2024 10:15:21 +0100 (CET) Date: Mon, 02 Dec 2024 10:14:44 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Dominik Csapak , Proxmox Backup Server development discussion , Thomas Lamprecht References: <20241129131329.765815-1-f.gruenbichler@proxmox.com> <20241129131329.765815-3-f.gruenbichler@proxmox.com> <00e24e50-5df8-4c62-abe2-e14916c4a7ba@proxmox.com> <211810f3-3eef-42bf-b17d-6f8f5f24c8a8@proxmox.com> In-Reply-To: <211810f3-3eef-42bf-b17d-6f8f5f24c8a8@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1733130843.g4mnhh0hy8.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pbs-devel] [PATCH proxmox 2/2] rest-server: close race window when updating worker task count X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" T24gTm92ZW1iZXIgMjksIDIwMjQgMzoyMCBwbSwgRG9taW5payBDc2FwYWsgd3JvdGU6Cj4gT24g MTEvMjkvMjQgMTQ6MjcsIFRob21hcyBMYW1wcmVjaHQgd3JvdGU6Cj4+IEFtIDI5LjExLjI0IHVt IDE0OjEzIHNjaHJpZWIgRmFiaWFuIEdyw7xuYmljaGxlcjoKPj4+IHRoaXMgbWltaWNzIGhvdyB0 aGUgY291bnQgaXMgdXBkYXRlZCB3aGVuIHNwYXduaW5nIGEgbmV3IHRhc2sgLSB0aGUgbG9jayBz Y29wZQo+Pj4gbmVlZHMgdG8gY292ZXIgdGhlIGNvdW50IHVwZGF0ZSBpdHNlbGYsIGVsc2UgdGhl cmUncyBhIHJhY2Ugd2hlbiBtdWx0aXBsZQo+Pj4gd29ya2VyJ3MgbG9nIHRoZWlyIHJlc3VsdCBh dCB0aGUgc2FtZSB0aW1lLi4KPj4+Cj4+PiBDby1kZXZlbG9wZWQtYnk6IERvbWluaWsgQ3NhcGFr IDxkLmNzYXBha0Bwcm94bW94LmNvbT4KPj4+IFNpZ25lZC1vZmYtYnk6IEZhYmlhbiBHcsO8bmJp Y2hsZXIgPGYuZ3J1ZW5iaWNobGVyQHByb3htb3guY29tPgo+Pj4gLS0tCj4+PiAgIHByb3htb3gt cmVzdC1zZXJ2ZXIvc3JjL3dvcmtlcl90YXNrLnJzIHwgMyArKy0KPj4+ICAgMSBmaWxlIGNoYW5n ZWQsIDIgaW5zZXJ0aW9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