// ---------------------------------------------------------------------------
-const LAST_MIGRATION_VERSION = 345
+const LAST_MIGRATION_VERSION = 355
// ---------------------------------------------------------------------------
}
}
},
+ AUTO_BLACKLIST: {
+ VIDEOS: {
+ OF_USERS: {
+ get ENABLED () { return config.get<boolean>('auto_blacklist.videos.of_users.enabled') }
+ }
+ }
+ },
CACHE: {
PREVIEWS: {
get SIZE () { return config.get<number>('cache.previews.size') }
get USERNAME () { return config.get<string>('services.twitter.username') },
get WHITELISTED () { return config.get<boolean>('services.twitter.whitelisted') }
}
+ },
+ FOLLOWERS: {
+ INSTANCE: {
+ get ENABLED () { return config.get<boolean>('followers.instance.enabled') },
+ get MANUAL_APPROVAL () { return config.get<boolean>('followers.instance.manual_approval') }
+ }
}
}
ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval
}
+const P2P_MEDIA_LOADER_PEER_VERSION = 2
+
// ---------------------------------------------------------------------------
// Special constants for a test instance
export {
API_VERSION,
HLS_REDUNDANCY_DIRECTORY,
+ P2P_MEDIA_LOADER_PEER_VERSION,
AVATARS_SIZE,
ACCEPT_HEADERS,
BCRYPT_SALT_SIZE,