mirror of
				https://github.com/thingsboard/thingsboard-gateway
				synced 2025-10-26 22:31:42 +08:00 
			
		
		
		
	Fixed statistics sending period
This commit is contained in:
		
							parent
							
								
									a8d9e312cb
								
							
						
					
					
						commit
						40a4a7858d
					
				|  | @ -5,7 +5,7 @@ thingsboard: | |||
|   remoteConfiguration: false | ||||
|   statistics: | ||||
|     enable: true | ||||
|     statsSendPeriodInSeconds: 3600 | ||||
|     statsSendPeriodInSeconds: 60 | ||||
| #    configuration: statistics/statistics_linux.json | ||||
|   deviceFiltering: | ||||
|     enable: false | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ class StatisticsService(Thread): | |||
|         self._stopped = False | ||||
| 
 | ||||
|         self._config_path = config_path | ||||
|         self._stats_send_period_in_seconds = stats_send_period_in_seconds / 1000 | ||||
|         self._stats_send_period_in_seconds = stats_send_period_in_seconds | ||||
|         self._gateway = gateway | ||||
|         self._log = log | ||||
|         self._config = self._load_config() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 samson0v
						samson0v