Add ability to set ssl option through env variable.
This commit is contained in:
Родитель
172989a76a
Коммит
e863ec41c4
1
AUTHORS
1
AUTHORS
|
@ -19,3 +19,4 @@ Greg Price <gprice@edx.org>
|
|||
Sarina Canelake <sarina@edx.org>
|
||||
Alexandre Dubus <alexandre.dubus@inria.fr>
|
||||
Alan Boudreault <alan@alanb.ca>
|
||||
Matjaz Gregoric <mtyaka@gmail.com>
|
||||
|
|
|
@ -20,6 +20,7 @@ common: &default_session
|
|||
max_retries: <%= ENV['MONGOID_MAX_RETRIES'] || 1 %>
|
||||
retry_interval: <%= ENV['MONGOID_RETRY_INTERVAL'] || 0 %>
|
||||
timeout: <%= ENV['MONGOID_TIMEOUT'] || 0.5 %>
|
||||
ssl: <%= ENV['MONGOID_USE_SSL'] || false %>
|
||||
|
||||
production:
|
||||
sessions:
|
||||
|
|
Загрузка…
Ссылка в новой задаче