Skip to content

Commit 18f893e

Browse files
committed
fix default busy timeout from insane ~1.3 hours to 100 milliseconds
1 parent 701a8cf commit 18f893e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsql-sys/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl<W: Wal> Connection<W> {
266266
}
267267
}
268268

269-
conn.busy_timeout(std::time::Duration::from_secs(5000))?;
269+
conn.busy_timeout(std::time::Duration::from_millis(100))?;
270270

271271
conn
272272
};

0 commit comments

Comments
 (0)