const required = [ 'listen.port',
'webserver.https', 'webserver.host', 'webserver.port',
'database.host', 'database.port', 'database.suffix',
- 'storage.certs', 'storage.uploads', 'storage.logs', 'storage.thumbnails',
- 'electron.debug' ]
+ 'storage.certs', 'storage.uploads', 'storage.logs', 'storage.thumbnails'
+ ]
const miss = []
for (const key of required) {
HOST: config.get('database.host'),
PORT: config.get('database.port')
},
- ELECTRON: {
- DEBUG: config.get('electron.debug')
- },
STORAGE: {
CERT_DIR: path.join(__dirname, '..', '..', config.get('storage.certs')),
LOG_DIR: path.join(__dirname, '..', '..', config.get('storage.logs')),
USER: 'user'
}
-// Seeds in parallel we send to electron when "seed all"
-// Once a video is in seeding state we seed another video etc
-const SEEDS_IN_PARALLEL = 3
-
// ---------------------------------------------------------------------------
// Special constants for a test instance
REQUESTS_LIMIT,
RETRY_REQUESTS,
SEARCHABLE_COLUMNS,
- SEEDS_IN_PARALLEL,
SORTABLE_COLUMNS,
STATIC_PATHS,
THUMBNAILS_SIZE,