improvement: flush after every request that manipulates the db
This commit is contained in:
		
							parent
							
								
									b2a1505535
								
							
						
					
					
						commit
						6dbe195695
					
				
					 30 changed files with 216 additions and 105 deletions
				
			
		| 
						 | 
				
			
			@ -75,6 +75,6 @@ const SESSION_ID_LENGTH: usize = 256;
 | 
			
		|||
 | 
			
		||||
#[cfg(feature = "conduit_bin")]
 | 
			
		||||
#[options("/<_..>")]
 | 
			
		||||
pub fn options_route() -> ConduitResult<send_event_to_device::Response> {
 | 
			
		||||
pub async fn options_route() -> ConduitResult<send_event_to_device::Response> {
 | 
			
		||||
    Ok(send_event_to_device::Response.into())
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue