increase FILLED status to >4 machines
This commit is contained in:
parent
30e78ee2f0
commit
016f5083a6
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def run_forever(address: str, period: int, ssid: str, output: str, webhook_url:
|
|||
|
||||
if len(registered_leases) > 0:
|
||||
people_cnt = len([lease for lease in registered_leases if _is_human(lease)])
|
||||
if people_cnt > 3:
|
||||
if people_cnt > 4:
|
||||
status = Status(open=True, description='FILLED', text="There seems to be a lot of people!")
|
||||
elif people_cnt > 0:
|
||||
status = Status(open=True, description='POPULATED', text="There seem to be people!")
|
||||
|
|
Loading…
Reference in a new issue