Loglines: did not close databases on #close. fixed -> No segv anymore :)
This commit is contained in:
parent
877e350d64
commit
9a31e65fa3
|
@ -46,7 +46,6 @@ module LogAn::Inc
|
||||||
@conf[:inc] = {}
|
@conf[:inc] = {}
|
||||||
%w[hosts files fileparser].each {|key| @conf[:inc][key.to_sym] = config( @etc, key) }
|
%w[hosts files fileparser].each {|key| @conf[:inc][key.to_sym] = config( @etc, key) }
|
||||||
@store = LogAn::Cache.new LogAn::AutoValueConvertHash.new( @etc[ 'sids.store', 'seeks', SBDB::Recno, SBDB::CREATE | SBDB::AUTO_COMMIT]), 3
|
@store = LogAn::Cache.new LogAn::AutoValueConvertHash.new( @etc[ 'sids.store', 'seeks', SBDB::Recno, SBDB::CREATE | SBDB::AUTO_COMMIT]), 3
|
||||||
exit 1
|
|
||||||
# Prepare Inc-server - create server
|
# Prepare Inc-server - create server
|
||||||
LogAn::Inc::FileParser::Base.logdb = @logs
|
LogAn::Inc::FileParser::Base.logdb = @logs
|
||||||
LogAn::Inc::FileParser::Base.store = @store
|
LogAn::Inc::FileParser::Base.store = @store
|
||||||
|
|
Loading…
Reference in a new issue