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 107AA1FF168 for ; Tue, 21 Jan 2025 09:41:35 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 25E3F43A4; Tue, 21 Jan 2025 09:41:32 +0100 (CET) Message-ID: Date: Tue, 21 Jan 2025 09:41:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Dominik Csapak , pdm-devel@lists.proxmox.com References: <20250120093006.927014-1-d.csapak@proxmox.com> Content-Language: de-AT, en-US From: Lukas Wagner In-Reply-To: <20250120093006.927014-1-d.csapak@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.009 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: [pdm-devel] [PATCH yew-comp/datacenter-manager] ui: implement remote task list X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" On 2025-01-20 10:29, Dominik Csapak wrote: > I noticed that the task caching could be improved a bit, e.g. we discard > the cache when it's older than some 'max-age' but old (finished!) tasks > will never get updated, they could at most be purged from the cache. > > IMHO it does not make sense to control the cache this way with a > 'max-age' variable, maybe @Lukas can look over that again and see > if we can cache the tasks better here? > (note that we can't have much above ~1000 tasks in PVE since that > is the number where we purge older ones there. I think we could keep > older tasks for remotes and also just purge them if the number is above > some threshold, maybe a bit higher than what PVE has). I'll have a look! -- - Lukas _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel