lib/legion/settings/loader.rb in legion-settings-1.1.2 vs lib/legion/settings/loader.rb in legion-settings-1.1.3
- old
+ new
@@ -15,38 +15,40 @@
end
def client_defaults
{
hostname: system_hostname,
- address: system_address,
- name: "#{::Socket.gethostname.tr('.', '_')}.#{::Process.pid}",
- ready: false
+ address: system_address,
+ name: "#{::Socket.gethostname.tr('.', '_')}.#{::Process.pid}",
+ ready: false
}
end
def default_settings
{
- client: client_defaults,
- cluster: { public_keys: {} },
- crypt: {
- cluster_secret: nil,
+ client: client_defaults,
+ cluster: { public_keys: {} },
+ crypt: {
+ cluster_secret: nil,
cluster_secret_timeout: 5,
- vault: { connected: false }
+ vault: { connected: false }
},
- cache: { enabled: true, connected: false, driver: 'dalli' },
- extensions: {},
- auto_install_missing_lex: true,
+ cache: { enabled: true, connected: false, driver: 'dalli' },
+ extensions: {},
+ reload: false,
+ reloading: false,
+ auto_install_missing_lex: true,
default_extension_settings: {
logger: { level: 'info', trace: false, extended: false }
},
- logging: {
- level: 'info',
- location: 'stdout',
- trace: true,
+ logging: {
+ level: 'info',
+ location: 'stdout',
+ trace: true,
backtrace_logging: true
},
- transport: { connected: false },
- data: { connected: false }
+ transport: { connected: false },
+ data: { connected: false }
}
end
def to_hash
unless @indifferent_access