lancedb_impl #15
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -3,6 +3,7 @@
 | 
				
			|||||||
debug/
 | 
					debug/
 | 
				
			||||||
target/
 | 
					target/
 | 
				
			||||||
.vscode/
 | 
					.vscode/
 | 
				
			||||||
 | 
					test_images/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# These are backup files generated by rustfmt
 | 
					# These are backup files generated by rustfmt
 | 
				
			||||||
**/*.rs.bk
 | 
					**/*.rs.bk
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -71,7 +71,7 @@ pub fn hash_key(key: &str) -> String {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/// RPC trait for HeroDB management
 | 
					/// RPC trait for HeroDB management
 | 
				
			||||||
#[rpc(server, client, namespace = "herodb")]
 | 
					#[rpc(server, client, namespace = "hero")]
 | 
				
			||||||
pub trait Rpc {
 | 
					pub trait Rpc {
 | 
				
			||||||
    /// Create a new database with specified configuration
 | 
					    /// Create a new database with specified configuration
 | 
				
			||||||
    #[method(name = "createDatabase")]
 | 
					    #[method(name = "createDatabase")]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -116,7 +116,7 @@ async fn setup_server() -> (ServerProcessGuard, u16) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    // Give the server time to build and start (cargo run may compile first)
 | 
					    // Give the server time to build and start (cargo run may compile first)
 | 
				
			||||||
    // Increase significantly to accommodate first-time dependency compilation in CI.
 | 
					    // Increase significantly to accommodate first-time dependency compilation in CI.
 | 
				
			||||||
    std::thread::sleep(Duration::from_millis(60000));
 | 
					    std::thread::sleep(Duration::from_millis(5000));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (guard, port)
 | 
					    (guard, port)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user