From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id A8FA21FF167 for ; Wed, 14 Aug 2024 09:20:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 999C3FE1C; Wed, 14 Aug 2024 09:20:40 +0200 (CEST) From: Maximiliano Sandoval To: pbs-devel@lists.proxmox.com Date: Wed, 14 Aug 2024 09:19:55 +0200 Message-Id: <20240814072001.53422-6-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240814072001.53422-1-m.sandoval@proxmox.com> References: <20240814072001.53422-1-m.sandoval@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.112 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pbs-devel] [PATCH proxmox v2 06/12] time: remove lazy_static dependency 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" U2lnbmVkLW9mZi1ieTogTWF4aW1pbGlhbm8gU2FuZG92YWwgPG0uc2FuZG92YWxAcHJveG1veC5j b20+Ci0tLQogcHJveG1veC10aW1lL0NhcmdvLnRvbWwgICAgICAgfCAgMiArLQogcHJveG1veC10 aW1lL3Ny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VydCgiZCIsIGRheSk7CiAKLSAgICAgICAgbGV0IHdl ZWsgPSBkYXkgKiA3LjA7CisgICAgbGV0IHdlZWsgPSBkYXkgKiA3LjA7CiAKLSAgICAgICAgbWFw Lmluc2VydCgid2Vla3MiLCB3ZWVrKTsKLSAgICAgICAgbWFwLmluc2VydCgid2VlayIsIHdlZWsp OwotICAgICAgICBtYXAuaW5zZXJ0KCJ3Iiwgd2Vlayk7CisgICAgbWFwLmluc2VydCgid2Vla3Mi LCB3ZWVrKTsKKyAgICBtYXAuaW5zZXJ0KCJ3ZWVrIiwgd2Vlayk7CisgICAgbWFwLmluc2VydCgi dyIsIHdlZWspOwogCi0gICAgICAgIGxldCBtb250aCA9IDMwLjQ0ICogZGF5OworICAgIGxldCBt b250aCA9IDMwLjQ0ICogZGF5OwogCi0gICAgICAgIG1hcC5pbnNlcnQoIm1vbnRocyIsIG1vbnRo KTsKLSAgICAgICAgbWFwLmluc2VydCgibW9udGgiLCBtb250aCk7Ci0gICAgICAgIG1hcC5pbnNl cnQoIk0iLCBtb250aCk7CisgICAgbWFwLmluc2VydCgibW9udGhzIiwgbW9udGgpOworICAgIG1h cC5pbnNlcnQoIm1vbnRoIiwgbW9udGgpOworICAgIG1hcC5pbnNlcnQoIk0iLCBtb250aCk7CiAK LSAgICAgICAgbGV0IHllYXIgPSAzNjUuMjUgKiBkYXk7CisgICAgbGV0IHllYXIgPSAzNjUuMjUg KiBkYXk7CiAKLSAgICAgICAgbWFwLmluc2VydCgieWVhcnMiLCB5ZWFyKTsKLSAgICAgICAgbWFw Lmluc2VydCgieWVhciIsIHllYXIpOwotICAgICAgICBtYXAuaW5zZXJ0KCJ5IiwgeWVhcik7Cisg ICAgbWFwLmluc2VydCgieWVhcnMiLCB5ZWFyKTsKKyAgICBtYXAuaW5zZXJ0KCJ5ZWFyIiwgeWVh cik7CisgICAgbWFwLmluc2VydCgieSIsIHllYXIpOwogCi0gICAgICAgIG1hcAotICAgIH07Ci19 CisgICAgbWFwCit9KTsKIAogLy8vIEEgdGltZSBzcGFucyBkZWZpbmVzIGEgdGltZSBkdXJhdGlv bgogI1tkZXJpdmUoRGVmYXVsdCwgQ2xvbmUsIERlYnVnKV0KLS0gCjIuMzkuMgoKCgpfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwYnMtZGV2ZWwgbWFpbGlu ZyBsaXN0CnBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3RzLnByb3htb3gu Y29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwK