aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-11-14 11:11:39 +0100
committerChocobozzz <me@florianbigard.com>2022-11-14 11:11:39 +0100
commit4efa5535ccc947597b7a8e343d6665229ab9cfce (patch)
tree7d3167499c83a9ef33782d4a120f0f757e919819 /config
parent0e45e336f62a411b3c423be46d16252355c754d7 (diff)
downloadPeerTube-4efa5535ccc947597b7a8e343d6665229ab9cfce.tar.gz
PeerTube-4efa5535ccc947597b7a8e343d6665229ab9cfce.tar.zst
PeerTube-4efa5535ccc947597b7a8e343d6665229ab9cfce.zip
Fix infinite playlist import
Using an hard videos limit in config
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 2e249cc76..a916b1dc3 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -578,6 +578,9 @@ import:
578 # Number of latest published videos to check and to potentially import when syncing a channel 578 # Number of latest published videos to check and to potentially import when syncing a channel
579 videos_limit_per_synchronization: 10 579 videos_limit_per_synchronization: 10
580 580
581 # Max number of videos to import when the user asks for full sync
582 full_sync_videos_limit: 1000
583
581auto_blacklist: 584auto_blacklist:
582 # New videos automatically blacklisted so moderators can review before publishing 585 # New videos automatically blacklisted so moderators can review before publishing
583 videos: 586 videos:
diff --git a/config/production.yaml.example b/config/production.yaml.example
index c136a73ad..100bc7948 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -588,6 +588,9 @@ import:
588 # Number of latest published videos to check and to potentially import when syncing a channel 588 # Number of latest published videos to check and to potentially import when syncing a channel
589 videos_limit_per_synchronization: 10 589 videos_limit_per_synchronization: 10
590 590
591 # Max number of videos to import when the user asks for full sync
592 full_sync_videos_limit: 1000
593
591auto_blacklist: 594auto_blacklist:
592 # New videos automatically blacklisted so moderators can review before publishing 595 # New videos automatically blacklisted so moderators can review before publishing
593 videos: 596 videos: