mirror of
https://github.com/gyptazy/ProxLB.git
synced 2026-04-05 20:31:57 +02:00
fix: Fix authentication timeout in rare cases that could lead to a stacktrace
Fixes: #285
This commit is contained in:
2
.changelogs/1.1.6/285_fix_authentication_timeout.yml
Normal file
2
.changelogs/1.1.6/285_fix_authentication_timeout.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
fixed:
|
||||
- Fix authentication timeout in rare cases that could lead to a stacktrace (@gyptazy). [#285]
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user