We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c86d59 + c85d365 commit 52151c2Copy full SHA for 52151c2
src/environment.rs
@@ -439,8 +439,8 @@ impl EnvironmentBuilder {
439
/// Currently a moderate number of slots are cheap but a huge number gets
440
/// expensive: 7-120 words per transaction, and every `Transaction::open_db`
441
/// does a linear search of the opened slots.
442
- pub fn set_max_dbs(&mut self, max_readers: c_uint) -> &mut EnvironmentBuilder {
443
- self.max_dbs = Some(max_readers);
+ pub fn set_max_dbs(&mut self, max_dbs: c_uint) -> &mut EnvironmentBuilder {
+ self.max_dbs = Some(max_dbs);
444
self
445
}
446
0 commit comments