Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct SystemConfig {
/// If true, the database will use checksums to detect corruption in the WAL file.
enable_checksums: bool,
/// If true, multiple concurrent write transactions are allowed.
/// Defaults to false
/// Defaults to true
enable_multi_writes: bool,
}

Expand All @@ -61,7 +61,7 @@ pub(crate) const SYSTEM_CONFIG_FOR_TESTS: SystemConfig = SystemConfig {
checkpoint_threshold: -1_i64,
throw_on_wal_replay_failure: true,
enable_checksums: true,
enable_multi_writes: false,
enable_multi_writes: true,
};

impl Default for SystemConfig {
Expand All @@ -77,7 +77,7 @@ impl Default for SystemConfig {
checkpoint_threshold: -1_i64,
throw_on_wal_replay_failure: true,
enable_checksums: true,
enable_multi_writes: false,
enable_multi_writes: true,
}
}
}
Expand Down
Loading