mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Disable line length warnings
This commit is contained in:
parent
2e91028ead
commit
f3eb62a271
@ -8,30 +8,30 @@ class Config
|
||||
property host : String = (ENV["LISTEN_HOST"]? || "0.0.0.0")
|
||||
property port : Int32 = (ENV["LISTEN_PORT"]? || 9000).to_i
|
||||
property base_url : String = (ENV["BASE_URL"]? || "/")
|
||||
property session_secret : String = \
|
||||
(ENV["SESSION_SECRET"]? || "mango-session-secret")
|
||||
# ameba:disable Layout/LineLength
|
||||
property session_secret : String = (ENV["SESSION_SECRET"]? || "mango-session-secret")
|
||||
property library_path : String = (ENV["LIBRARY_PATH"]? || "~/mango/library")
|
||||
property library_cache_path : String = \
|
||||
(ENV["LIBRARY_CACHE_PATH"]? || "~/mango/library.yml.gz")
|
||||
# ameba:disable Layout/LineLength
|
||||
property library_cache_path : String = (ENV["LIBRARY_CACHE_PATH"]? || "~/mango/library.yml.gz")
|
||||
property db_path : String = (ENV["DB_PATH"]? || "~/mango/mango.db")
|
||||
property queue_db_path : String = \
|
||||
(ENV["QUEUE_DB_PATH"]? || "~/mango/queue.db")
|
||||
# ameba:disable Layout/LineLength
|
||||
property queue_db_path : String = (ENV["QUEUE_DB_PATH"]? || "~/mango/queue.db")
|
||||
property scan_interval_minutes : Int32 = (ENV["SCAN_INTERVAL"]? || 5).to_i
|
||||
property thumbnail_generation_interval_hours : Int32 = \
|
||||
(ENV["THUMBNAIL_INTERVAL"]? || 24).to_i
|
||||
# ameba:disable Layout/LineLength
|
||||
property thumbnail_generation_interval_hours : Int32 = (ENV["THUMBNAIL_INTERVAL"]? || 24).to_i
|
||||
property log_level : String = (ENV["LOG_LEVEL"]? || "info")
|
||||
property upload_path : String = (ENV["UPLOAD_PATH"]? || "~/mango/uploads")
|
||||
property plugin_path : String = (ENV["PLUGIN_PATH"]? || "~/mango/plugins")
|
||||
property download_timeout_seconds : Int32 = \
|
||||
(ENV["DOWNLOAD_TIMEOUT"]? || 30).to_i
|
||||
# ameba:disable Layout/LineLength
|
||||
property download_timeout_seconds : Int32 = (ENV["DOWNLOAD_TIMEOUT"]? || 30).to_i
|
||||
property cache_enabled : Bool = env_is_true?("CACHE_ENABLED", true)
|
||||
property cache_size_mbs : Int32 = (ENV["CACHE_SIZE"]? || 50).to_i
|
||||
property cache_log_enabled : Bool = env_is_true?("CACHE_LOG_ENABLED", true)
|
||||
property disable_login : Bool = env_is_true?("DISABLE_LOGIN", false)
|
||||
property default_username : String = (ENV["DEFAULT_USERNAME"]? || "")
|
||||
property auth_proxy_header_name : String = (ENV["AUTH_PROXY_HEADER"]? || "")
|
||||
property plugin_update_interval_hours : Int32 = \
|
||||
(ENV["PLUGIN_UPDATE_INTERVAL"]? || 24).to_i
|
||||
# ameba:disable Layout/LineLength
|
||||
property plugin_update_interval_hours : Int32 = (ENV["PLUGIN_UPDATE_INTERVAL"]? || 24).to_i
|
||||
|
||||
@@singlet : Config?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user