diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 164de041e..e712f02a8 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -710,9 +710,9 @@ if (isTestInstance() === true) { | |||
710 | STATIC_MAX_AGE.SERVER = '0' | 710 | STATIC_MAX_AGE.SERVER = '0' |
711 | 711 | ||
712 | ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2 | 712 | ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2 |
713 | ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 100 * 10000 // 10 seconds | 713 | ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 10 * 1000 // 10 seconds |
714 | ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL = 100 * 10000 // 10 seconds | 714 | ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL = 10 * 1000 // 10 seconds |
715 | ACTIVITY_PUB.VIDEO_PLAYLIST_REFRESH_INTERVAL = 100 * 10000 // 10 seconds | 715 | ACTIVITY_PUB.VIDEO_PLAYLIST_REFRESH_INTERVAL = 10 * 1000 // 10 seconds |
716 | 716 | ||
717 | CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB | 717 | CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB |
718 | 718 | ||
@@ -924,7 +924,6 @@ function updateWebserverUrls () { | |||
924 | WEBSERVER.SCHEME = CONFIG.WEBSERVER.SCHEME | 924 | WEBSERVER.SCHEME = CONFIG.WEBSERVER.SCHEME |
925 | WEBSERVER.HOSTNAME = CONFIG.WEBSERVER.HOSTNAME | 925 | WEBSERVER.HOSTNAME = CONFIG.WEBSERVER.HOSTNAME |
926 | WEBSERVER.PORT = CONFIG.WEBSERVER.PORT | 926 | WEBSERVER.PORT = CONFIG.WEBSERVER.PORT |
927 | WEBSERVER.PORT = CONFIG.WEBSERVER.PORT | ||
928 | 927 | ||
929 | WEBSERVER.RTMP_URL = 'rtmp://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.LIVE.RTMP.PORT + '/' + VIDEO_LIVE.RTMP.BASE_PATH | 928 | WEBSERVER.RTMP_URL = 'rtmp://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.LIVE.RTMP.PORT + '/' + VIDEO_LIVE.RTMP.BASE_PATH |
930 | } | 929 | } |