[pve-devel] applied: [PATCH pve-apiclient v4 1/1] try to refresh ticket before an api call

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Nov 14 22:09:03 CET 2025


On Fri, 14 Nov 2025 15:59:16 +0100, Dominik Csapak wrote:
> when the ticket is an hour old (or older).
> This can help for long running tasks that reuse the api client
> throughout the whole task.
> 
> It will not work though if there is more than 2 hours between api calls,
> but that should not be the case that often.
> 
> [...]

Applied, thanks!

I reworked the code slightly in a few small follow-ups and also tried to
improve how api-tokens are handled to avoid that a user needs to care about
prefixing PVEApiToken.

[1/1] try to refresh ticket before an api call
      commit: 083a9447df8da2fb5c26c6eb4d588d60a12d58c6




More information about the pve-devel mailing list