diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-06 15:14:48 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | 529f037294d9917a62235f8162887a8edc04c32f (patch) | |
tree | e0b4f9c00dfde66141383e36ae9a9d787b02bf3e /server | |
parent | 9e2b2e76ba5f7f570dcf59fc03bfec98ea5ffab8 (diff) | |
download | PeerTube-529f037294d9917a62235f8162887a8edc04c32f.tar.gz PeerTube-529f037294d9917a62235f8162887a8edc04c32f.tar.zst PeerTube-529f037294d9917a62235f8162887a8edc04c32f.zip |
Revert some mistakes
Diffstat (limited to 'server')
-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 | } |