fix: Fix authentication timeout in rare cases that could lead to a stacktrace

Fixes: #285
This commit is contained in:
Florian Paul Azim Hoberg
2025-08-25 08:44:03 +02:00
parent 1ff0c5d96e
commit 155c417d39
2 changed files with 8 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
fixed:
- Fix authentication timeout in rare cases that could lead to a stacktrace (@gyptazy). [#285]

View File

@@ -51,14 +51,14 @@ def main():
# Validate of an optional service delay
Helper.get_service_delay(proxlb_config)
# Connect to Proxmox API & create API object
proxmox_api = ProxmoxApi(proxlb_config)
# Overwrite password after creating the API object
proxlb_config["proxmox_api"]["pass"] = "********"
while True:
# Connect to Proxmox API & create API object
proxmox_api = ProxmoxApi(proxlb_config)
# Overwrite password after creating the API object
proxlb_config["proxmox_api"]["pass"] = "********"
# Validate if reload signal was sent during runtime
# and reload the ProxLB configuration and adjust log level
if Helper.proxlb_reload: