1

Fix timeout type

This commit is contained in:
2025-06-06 11:40:20 -04:00
parent 810df62a78
commit 67e365c8b3
+1 -2
View File
@@ -15,7 +15,7 @@ def main(args):
# load default values if not passed as arguments
if args.timeout:
timeout = args.timeout
timeout = float(args.timeout)
else:
timeout = 10
@@ -61,7 +61,6 @@ def main(args):
rooms=data['totalRooms']
users=data['totalUsers']
print("MIROTALKSFU OK - %s second response time | rooms=%s users=%s" % (delay, rooms, users))
#print(json.dumps(response.json()))
else:
print("MIROTALKSFU WARN - Unknown error")
sys.exit(CODE_WARN)