...
This commit is contained in:
@@ -22,6 +22,10 @@ struct Args {
|
||||
/// Enable debug mode
|
||||
#[arg(long)]
|
||||
debug: bool,
|
||||
|
||||
/// Number of logical databases (SELECT 0..N-1)
|
||||
#[arg(long, default_value_t = 16)]
|
||||
databases: u16,
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
@@ -41,6 +45,7 @@ async fn main() {
|
||||
dir: args.dir,
|
||||
port,
|
||||
debug: args.debug,
|
||||
databases: args.databases,
|
||||
};
|
||||
|
||||
// new server
|
||||
|
Reference in New Issue
Block a user