mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 17:05:36 +01:00
simulator: Remove seed from SimulatorOpts
It's not used anywhere and technically it's not even part of simulation options, but the seed that generates them.
This commit is contained in:
@@ -29,7 +29,6 @@ struct SimulatorOpts {
|
||||
ticks: usize,
|
||||
max_connections: usize,
|
||||
max_tables: usize,
|
||||
seed: u64,
|
||||
// this next options are the distribution of workload where read_percent + write_percent +
|
||||
// delete_percent == 100%
|
||||
read_percent: usize,
|
||||
@@ -94,7 +93,6 @@ fn main() {
|
||||
max_connections: 1, // TODO: for now let's use one connection as we didn't implement
|
||||
// correct transactions procesing
|
||||
max_tables: rng.gen_range(0..128),
|
||||
seed,
|
||||
read_percent,
|
||||
write_percent,
|
||||
delete_percent,
|
||||
|
||||
Reference in New Issue
Block a user