add documentation for timeout
This commit is contained in:
		
							parent
							
								
									1c847303e4
								
							
						
					
					
						commit
						8a3bb1a562
					
				|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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, | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue