We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set_max_dbs
1 parent c64f0b4 commit f7d4143Copy full SHA for f7d4143
src/environment.rs
@@ -308,8 +308,8 @@ impl EnvironmentBuilder {
308
/// Currently a moderate number of slots are cheap but a huge number gets
309
/// expensive: 7-120 words per transaction, and every `Transaction::open_db`
310
/// does a linear search of the opened slots.
311
- pub fn set_max_dbs(&mut self, max_readers: c_uint) -> &mut EnvironmentBuilder {
312
- 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);
313
self
314
}
315
0 commit comments