aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorFlorian CUNY <poslovitch@bentobox.world>2021-10-26 16:42:10 +0200
committerGitHub <noreply@github.com>2021-10-26 16:42:10 +0200
commit754b6f5f41bdc40aaaeefdb3c351666c305abe20 (patch)
treed36c8081f3137f1e2c9763879f71d41aa9a3efc1 /server/initializers/constants.ts
parent615836dbd4f48fc563551446529fa9d3b14dc329 (diff)
downloadPeerTube-754b6f5f41bdc40aaaeefdb3c351666c305abe20.tar.gz
PeerTube-754b6f5f41bdc40aaaeefdb3c351666c305abe20.tar.zst
PeerTube-754b6f5f41bdc40aaaeefdb3c351666c305abe20.zip
Made the video channels limit (per user) server-wide configurable (#4491)
* Made the video channels limit (per user) server-wide configurable Implements https://github.com/Chocobozzz/PeerTube/issues/3092 Also added a "quota bar" in the account's settings page * Fixed lint errors * Another pass at fixing lint errors * Applied code suggestions * Removed 'video channels quota'
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index f6c19dab4..3781f9508 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -512,10 +512,6 @@ const OVERVIEWS = {
512 } 512 }
513} 513}
514 514
515const VIDEO_CHANNELS = {
516 MAX_PER_USER: 20
517}
518
519// --------------------------------------------------------------------------- 515// ---------------------------------------------------------------------------
520 516
521const SERVER_ACTOR_NAME = 'peertube' 517const SERVER_ACTOR_NAME = 'peertube'
@@ -897,7 +893,6 @@ export {
897 VIDEO_TRANSCODING_FPS, 893 VIDEO_TRANSCODING_FPS,
898 FFMPEG_NICE, 894 FFMPEG_NICE,
899 ABUSE_STATES, 895 ABUSE_STATES,
900 VIDEO_CHANNELS,
901 LRU_CACHE, 896 LRU_CACHE,
902 REQUEST_TIMEOUT, 897 REQUEST_TIMEOUT,
903 USER_PASSWORD_RESET_LIFETIME, 898 USER_PASSWORD_RESET_LIFETIME,