mirror of https://github.com/Chocobozzz/PeerTube
Revert some mistakes
parent
9e2b2e76ba
commit
529f037294
|
@ -37,24 +37,24 @@ log:
|
|||
|
||||
contact_form:
|
||||
enabled: true
|
||||
#
|
||||
#redundancy:
|
||||
# videos:
|
||||
# check_interval: '1 minute'
|
||||
# strategies:
|
||||
# -
|
||||
# size: '1000MB'
|
||||
# min_lifetime: '10 minutes'
|
||||
# strategy: 'most-views'
|
||||
# -
|
||||
# size: '1000MB'
|
||||
# min_lifetime: '10 minutes'
|
||||
# strategy: 'trending'
|
||||
# -
|
||||
# size: '1000MB'
|
||||
# min_lifetime: '10 minutes'
|
||||
# strategy: 'recently-added'
|
||||
# min_views: 1
|
||||
|
||||
redundancy:
|
||||
videos:
|
||||
check_interval: '1 minute'
|
||||
strategies:
|
||||
-
|
||||
size: '1000MB'
|
||||
min_lifetime: '10 minutes'
|
||||
strategy: 'most-views'
|
||||
-
|
||||
size: '1000MB'
|
||||
min_lifetime: '10 minutes'
|
||||
strategy: 'trending'
|
||||
-
|
||||
size: '1000MB'
|
||||
min_lifetime: '10 minutes'
|
||||
strategy: 'recently-added'
|
||||
min_views: 1
|
||||
|
||||
cache:
|
||||
previews:
|
||||
|
|
|
@ -710,9 +710,9 @@ if (isTestInstance() === true) {
|
|||
STATIC_MAX_AGE.SERVER = '0'
|
||||
|
||||
ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2
|
||||
ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 100 * 10000 // 10 seconds
|
||||
ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL = 100 * 10000 // 10 seconds
|
||||
ACTIVITY_PUB.VIDEO_PLAYLIST_REFRESH_INTERVAL = 100 * 10000 // 10 seconds
|
||||
ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
|
||||
ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
|
||||
ACTIVITY_PUB.VIDEO_PLAYLIST_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
|
||||
|
||||
CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB
|
||||
|
||||
|
@ -924,7 +924,6 @@ function updateWebserverUrls () {
|
|||
WEBSERVER.SCHEME = CONFIG.WEBSERVER.SCHEME
|
||||
WEBSERVER.HOSTNAME = CONFIG.WEBSERVER.HOSTNAME
|
||||
WEBSERVER.PORT = CONFIG.WEBSERVER.PORT
|
||||
WEBSERVER.PORT = CONFIG.WEBSERVER.PORT
|
||||
|
||||
WEBSERVER.RTMP_URL = 'rtmp://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.LIVE.RTMP.PORT + '/' + VIDEO_LIVE.RTMP.BASE_PATH
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue