mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
Clean up Redis VM objects after redis['data_ttl']
This commit is contained in:
parent
48a9ef0dfd
commit
7b97e58e0f
5 changed files with 47 additions and 3 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue