Skip to content

Commit

Permalink
toydb: fix default id
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed Apr 8, 2024
1 parent aba368d commit f71eda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/toydb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct Config {
impl Config {
fn new(file: &str) -> Result<Self> {
Ok(config::Config::builder()
.set_default("id", "toydb")?
.set_default("id", "1")?
.set_default("listen_sql", "0.0.0.0:9605")?
.set_default("listen_raft", "0.0.0.0:9705")?
.set_default("log_level", "info")?
Expand Down

0 comments on commit f71eda4

Please sign in to comment.