summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2006-02-17 21:00:20 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2006-02-17 21:00:20 +0000
commitf4731683240a6bd9de5dc8cc075cad4700d77c10 (patch)
tree0d5a113d09e284b8c5e7e62b24edd1a2ecf7da1f /lib
parent1043b1a026c7362ced11c6bb4cd706a2c0d5cec3 (diff)
die, annoyingly large log files
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/dbhash.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbot/dbhash.rb b/lib/rbot/dbhash.rb
index 0c09e17c..5433bf90 100644
--- a/lib/rbot/dbhash.rb
+++ b/lib/rbot/dbhash.rb
@@ -70,7 +70,8 @@ module Irc
@bot = bot
@key = key
if @@env.nil?
- @@env = BDB::Env.open("#{@bot.botclass}", BDB::INIT_TRANSACTION | BDB::CREATE | BDB::RECOVER)
+ #@@env = BDB::Env.open("#{@bot.botclass}", BDB::INIT_TRANSACTION | BDB::CREATE | BDB::RECOVER)
+ @@env = BDB::Env.open("#{@bot.botclass}", BDB::CREATE | BDB::INIT_MPOOL | BDB::RECOVER)
end
if absfilename && File.exist?(key)