gyptazy / ProxLB

ProxLB - (Re)Balance VM Workloads Across Nodes in Proxmox Clusters. A Load Balancer for Proxmox - and more!
https://proxlb.de
GNU General Public License v3.0
201 stars 9 forks source link

fix: Fix daemon timer to use hours instead of minutes. #46

Closed gyptazy closed 2 months ago

gyptazy commented 2 months ago

fix: Fix daemon timer to use hours instead of minutes.

The option within the configuration file is defined in hours but it gets passed in the code as seconds where it simply gets multiplied by 60. As a result, we're just getting minutes instead of hours and we need to multiply it by additional 60 to reach hours.

Reported by: @mater-345 Fixes: #45