fix: load less from database on mqtt publish
This commit is contained in:
		
							parent
							
								
									6117548e32
								
							
						
					
					
						commit
						6728ef9264
					
				
					 6 changed files with 40 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -42,6 +42,9 @@ controller_get_by_id(int id);
 | 
			
		|||
controller_t*
 | 
			
		||||
controller_get_by_uid(uuid_t uid);
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
controller_get_id_for_uid(uuid_t uid);
 | 
			
		||||
 | 
			
		||||
controller_t**
 | 
			
		||||
controller_get_all();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,6 +47,9 @@ relay_free_list(relay_t **relays_list);
 | 
			
		|||
relay_t*
 | 
			
		||||
relay_get_by_id(int id);
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
relay_get_id_for_controller(int controller_id, int relay_num);
 | 
			
		||||
 | 
			
		||||
relay_t*
 | 
			
		||||
relay_get_for_controller(int controller_id, int relay_num);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue