add documentation for timeout

This commit is contained in:
Cody Lee 2022-12-08 21:14:43 -06:00
parent 1c847303e4
commit 8a3bb1a562
No known key found for this signature in database
3 changed files with 6 additions and 0 deletions

View File

@ -147,6 +147,10 @@
# A setting of ["all"] will poll all sites; this works if you only have 1 site too. # A setting of ["all"] will poll all sites; this works if you only have 1 site too.
sites = ["all"] sites = ["all"]
# Specify a timeout, leave missing to declare infinite wait. This determines the maximum
# time to wait for a response from the unifi controller on any API request.
# timeout = 60s
# Enable collection of site data. This data powers the Network Sites dashboard. # Enable collection of site data. This data powers the Network Sites dashboard.
# It's not valuable to everyone and setting this to false will save resources. # It's not valuable to everyone and setting this to false will save resources.
save_sites = true save_sites = true

View File

@ -51,6 +51,7 @@
"pass": "unifipoller", "pass": "unifipoller",
"url": "https://127.0.0.1:8443", "url": "https://127.0.0.1:8443",
"sites": ["all"], "sites": ["all"],
"timeout": "60s",
"save_ids": false, "save_ids": false,
"save_events": false, "save_events": false,
"save_alarms": false, "save_alarms": false,

View File

@ -51,6 +51,7 @@ unifi:
pass: "unifipoller" pass: "unifipoller"
sites: sites:
- all - all
timeout: 60s
save_ids: false save_ids: false
save_events: false save_events: false
save_alarms: false save_alarms: false