Skip to content

Commit

Permalink
Increase max threads to 5 (#314)
Browse files Browse the repository at this point in the history
5 threads ought to be enough for anybody.
  • Loading branch information
carllerche authored Jun 26, 2023
1 parent ce8a232 commit a4341d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::time::{Duration, Instant};
use tracing::{info, subscriber};
use tracing_subscriber::{fmt, EnvFilter};

const DEFAULT_MAX_THREADS: usize = 4;
const DEFAULT_MAX_THREADS: usize = 5;
const DEFAULT_MAX_BRANCHES: usize = 1_000;

/// Configure a model
Expand Down
2 changes: 1 addition & 1 deletion src/rt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub(crate) use self::vv::VersionVec;
use tracing::trace;

/// Maximum number of threads that can be included in a model.
pub const MAX_THREADS: usize = 4;
pub const MAX_THREADS: usize = 5;

/// Maximum number of atomic store history to track per-cell.
pub(crate) const MAX_ATOMIC_HISTORY: usize = 7;
Expand Down

0 comments on commit a4341d0

Please sign in to comment.