X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=lib%2Frbot%2Fdbhash.rb;h=5433bf90ef0291d8b910fc07cf66aa3b09440f69;hb=8836539ba33a7507c23af1f410dbf78d36503148;hp=0c09e17c3d06b8c079583bc9063491871fa1c800;hpb=44688c76d937c2dade10aaa7bb7e70e508b33684;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git 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)