mirror of
				https://github.com/KevinMidboe/mktxp-no-cli.git
				synced 2025-10-29 17:50:23 +00:00 
			
		
		
		
	Collector registry, fixes/optimizations
This commit is contained in:
		@@ -46,7 +46,7 @@ class BandwidthCollector(BaseCollector):
 | 
			
		||||
            yield latency_metrics
 | 
			
		||||
 | 
			
		||||
        ts =  datetime.now().timestamp()       
 | 
			
		||||
        if (ts - self.last_call_timestamp) > config_handler._entry().bandwidth_test_interval:            
 | 
			
		||||
        if (ts - self.last_call_timestamp) > config_handler.system_entry().bandwidth_test_interval:
 | 
			
		||||
            self.pool.apply_async(BandwidthCollector.bandwidth_worker, callback=get_result)            
 | 
			
		||||
            self.last_call_timestamp = ts
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user