Clean up Redis VM objects after redis['data_ttl']

This commit is contained in:
Scott Schneider 2015-03-20 10:25:51 -07:00
parent 48a9ef0dfd
commit 7b97e58e0f
5 changed files with 47 additions and 3 deletions

View file

@ -11,8 +11,8 @@ module Vmpooler
$config[:config]['task_limit'] ||= 10
$config[:config]['vm_checktime'] ||= 15
$config[:config]['vm_lifetime'] ||= 24
$config[:redis] ||= {}
$config[:redis]['server'] ||= 'localhost'
$config[:redis] ||= {}
$config[:redis]['server'] ||= 'localhost'
# Load logger library
$logger = Vmpooler::Logger.new $config[:config]['logfile']