diff options
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r-- | server/initializers/constants.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 75065fe72..09c4f755e 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -35,9 +35,6 @@ const CONFIG = { | |||
35 | HOST: config.get('database.host'), | 35 | HOST: config.get('database.host'), |
36 | PORT: config.get('database.port') | 36 | PORT: config.get('database.port') |
37 | }, | 37 | }, |
38 | ELECTRON: { | ||
39 | DEBUG: config.get('electron.debug') | ||
40 | }, | ||
41 | STORAGE: { | 38 | STORAGE: { |
42 | CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')), | 39 | CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')), |
43 | LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')), | 40 | LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')), |
@@ -138,10 +135,6 @@ const USER_ROLES = { | |||
138 | USER: 'user' | 135 | USER: 'user' |
139 | } | 136 | } |
140 | 137 | ||
141 | // Seeds in parallel we send to electron when "seed all" | ||
142 | // Once a video is in seeding state we seed another video etc | ||
143 | const SEEDS_IN_PARALLEL = 3 | ||
144 | |||
145 | // --------------------------------------------------------------------------- | 138 | // --------------------------------------------------------------------------- |
146 | 139 | ||
147 | // Special constants for a test instance | 140 | // Special constants for a test instance |
@@ -169,7 +162,6 @@ module.exports = { | |||
169 | REQUESTS_LIMIT, | 162 | REQUESTS_LIMIT, |
170 | RETRY_REQUESTS, | 163 | RETRY_REQUESTS, |
171 | SEARCHABLE_COLUMNS, | 164 | SEARCHABLE_COLUMNS, |
172 | SEEDS_IN_PARALLEL, | ||
173 | SORTABLE_COLUMNS, | 165 | SORTABLE_COLUMNS, |
174 | STATIC_PATHS, | 166 | STATIC_PATHS, |
175 | THUMBNAILS_SIZE, | 167 | THUMBNAILS_SIZE, |