We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c37b791 commit e0c9df8Copy full SHA for e0c9df8
1 file changed
crates/durability/src/imp/local.rs
@@ -34,7 +34,7 @@ pub use spacetimedb_commitlog::repo::{OnNewSegmentFn, SizeOnDisk};
34
pub struct Options {
35
/// Periodically flush and sync the log this often.
36
///
37
- /// Default: 500ms
+ /// Default: 50ms
38
pub sync_interval: Duration,
39
/// [`Commitlog`] configuration.
40
pub commitlog: spacetimedb_commitlog::Options,
@@ -43,7 +43,7 @@ pub struct Options {
43
impl Default for Options {
44
fn default() -> Self {
45
Self {
46
- sync_interval: Duration::from_millis(500),
+ sync_interval: Duration::from_millis(50),
47
commitlog: Default::default(),
48
}
49
0 commit comments