diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 19 |
1 files changed, 16 insertions, 3 deletions
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 |