Initializes statistics timer now.
FossilOrigin-Name: 364bfc34b9d44bf61a3b5f3e63ac74063330993a617ffa7553abdc5cab305030
This commit is contained in:
		@ -77,7 +77,11 @@ int setup_conf(struct conn *  conn)
 | 
			
		||||
		mbag_set_dword(rs,CW_ITEM_REBOOT_LAST_FAILURE_TYPE, CW_REBOOT_TYPE_NOT_SUPPORTED);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	n = mbag_get(conn->config,CW_ITEM_STATISTICS_TIMER);
 | 
			
		||||
	if (!n) {
 | 
			
		||||
		mbag_set_word(conn->config, CW_ITEM_STATISTICS_TIMER, 120);
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user