Open HazardCreative opened 2 years ago
Describe the bug Can't add a secondary timer to cluster. Error occurs before connection attempt is made.
To Reproduce Steps to reproduce the behavior:
"SECONDARIES": [ { "address": "mrvtpanel.local:5000", "mode": "mirror" } ],
Expected behavior Attempt to connect to secondary server
Log Dump
2022-08-16 09:15:29.842: __main__ [ERROR] Error adding secondary to cluster Traceback (most recent call last): File "/home/pi/betahazard/src/rh/server.py", line 5629, in <module> secondary = SecondaryNode(sec_idx, secondary_info, RACE, getCurrentProfile, \ File "/home/pi/betahazard/src/rh/cluster/ClusterNodeSet.py", line 43, in __init__ if self.queryInterval_ms <= 0: AttributeError: 'SecondaryNode' object has no attribute 'queryInterval_ms'
Additional context Immediate issue may be here, but adding _ms generates a number of other errors instead. https://github.com/pulquero/RotorHazard/blob/BetaHazard/src/rh/cluster/ClusterNodeSet.py#L42
Describe the bug Can't add a secondary timer to cluster. Error occurs before connection attempt is made.
To Reproduce Steps to reproduce the behavior:
Expected behavior Attempt to connect to secondary server
Log Dump
Additional context Immediate issue may be here, but adding _ms generates a number of other errors instead. https://github.com/pulquero/RotorHazard/blob/BetaHazard/src/rh/cluster/ClusterNodeSet.py#L42