diff --git a/examples/up.conf.example b/examples/up.conf.example index 0d7e4271..2b0f7a50 100644 --- a/examples/up.conf.example +++ b/examples/up.conf.example @@ -147,6 +147,10 @@ # A setting of ["all"] will poll all sites; this works if you only have 1 site too. 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. # It's not valuable to everyone and setting this to false will save resources. save_sites = true diff --git a/examples/up.json.example b/examples/up.json.example index 9d8857af..3a756bcd 100644 --- a/examples/up.json.example +++ b/examples/up.json.example @@ -51,6 +51,7 @@ "pass": "unifipoller", "url": "https://127.0.0.1:8443", "sites": ["all"], + "timeout": "60s", "save_ids": false, "save_events": false, "save_alarms": false, diff --git a/examples/up.yaml.example b/examples/up.yaml.example index 4c85c1cc..41ea7817 100644 --- a/examples/up.yaml.example +++ b/examples/up.yaml.example @@ -51,6 +51,7 @@ unifi: pass: "unifipoller" sites: - all + timeout: 60s save_ids: false save_events: false save_alarms: false