diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 13 | ||||
-rw-r--r-- | config/production.yaml.example | 19 |
2 files changed, 29 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml index 54452d5e2..f7c9b620c 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -296,6 +296,16 @@ webadmin: | |||
296 | # Set this to false if you don't want to allow config edition in the web interface by instance admins | 296 | # Set this to false if you don't want to allow config edition in the web interface by instance admins |
297 | allowed: true | 297 | allowed: true |
298 | 298 | ||
299 | # XML, Atom or JSON feeds | ||
300 | feeds: | ||
301 | videos: | ||
302 | # Default number of videos displayed in feeds | ||
303 | count: 20 | ||
304 | |||
305 | comments: | ||
306 | # Default number of comments displayed in feeds | ||
307 | count: 20 | ||
308 | |||
299 | cache: | 309 | cache: |
300 | previews: | 310 | previews: |
301 | size: 500 # Max number of previews you want to cache | 311 | size: 500 # Max number of previews you want to cache |
@@ -469,6 +479,9 @@ import: | |||
469 | # Amount of import jobs to execute in parallel | 479 | # Amount of import jobs to execute in parallel |
470 | concurrency: 1 | 480 | concurrency: 1 |
471 | 481 | ||
482 | # Set a custom video import timeout to not block import queue | ||
483 | timeout: '2 hours' | ||
484 | |||
472 | # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html | 485 | # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html |
473 | http: | 486 | http: |
474 | # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server | 487 | # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 89b7fe966..a36f4979b 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -292,15 +292,25 @@ webadmin: | |||
292 | # Set this to false if you don't want to allow config edition in the web interface by instance admins | 292 | # Set this to false if you don't want to allow config edition in the web interface by instance admins |
293 | allowed: true | 293 | allowed: true |
294 | 294 | ||
295 | # XML, Atom or JSON feeds | ||
296 | feeds: | ||
297 | videos: | ||
298 | # Default number of videos displayed in feeds | ||
299 | count: 20 | ||
300 | |||
301 | comments: | ||
302 | # Default number of comments displayed in feeds | ||
303 | count: 20 | ||
304 | |||
295 | ############################################################################### | 305 | ############################################################################### |
296 | # | 306 | # |
297 | # From this point, all the following keys can be overridden by the web interface | 307 | # From this point, almost all following keys can be overridden by the web interface |
298 | # (local-production.json file). If you need to change some values, prefer to | 308 | # (local-production.json file). If you need to change some values, prefer to |
299 | # use the web interface because the configuration will be automatically | 309 | # use the web interface because the configuration will be automatically |
300 | # reloaded without any need to restart PeerTube | 310 | # reloaded without any need to restart PeerTube |
301 | # | 311 | # |
302 | # /!\ If you already have a local-production.json file, the modification of the | 312 | # /!\ If you already have a local-production.json file, modification of some of |
303 | # following keys will have no effect /!\ | 313 | # the following keys will have no effect /!\ |
304 | # | 314 | # |
305 | ############################################################################### | 315 | ############################################################################### |
306 | 316 | ||
@@ -477,6 +487,9 @@ import: | |||
477 | # Amount of import jobs to execute in parallel | 487 | # Amount of import jobs to execute in parallel |
478 | concurrency: 1 | 488 | concurrency: 1 |
479 | 489 | ||
490 | # Set a custom video import timeout to not block import queue | ||
491 | timeout: '2 hours' | ||
492 | |||
480 | # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html | 493 | # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html |
481 | http: | 494 | http: |
482 | # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server | 495 | # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server |