From f4731683240a6bd9de5dc8cc075cad4700d77c10 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Fri, 17 Feb 2006 21:00:20 +0000 Subject: die, annoyingly large log files --- lib/rbot/dbhash.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3