add the default in the standard location, also adding

support for an ENV var. Update the example yaml file with the new config
This commit is contained in:
Samuel Beaulieu 2020-09-03 08:49:45 -05:00
parent a35d66c606
commit 1c53625fd8
3 changed files with 46 additions and 41 deletions

View file

@ -9,7 +9,7 @@ redis_port = config[:redis]['port']
redis_password = config[:redis]['password']
redis_connection_pool_size = config[:redis]['connection_pool_size']
redis_connection_pool_timeout = config[:redis]['connection_pool_timeout']
redis_reconnect_attempts = config[:redis]['reconnect_attempts'] || 10
redis_reconnect_attempts = config[:redis]['reconnect_attempts']
logger_file = config[:config]['logfile']
logger = Vmpooler::Logger.new logger_file