From 5dc9da15cf10085a31ab4497aaa022083cc8ed3d Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Sat, 2 Dec 2023 23:18:42 +0100 Subject: [PATCH] Update onboarding mats --- config.example.yml | 25 +++++++++++++------------ rclone.conf | 4 ++-- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/config.example.yml b/config.example.yml index b60da86..d7129aa 100644 --- a/config.example.yml +++ b/config.example.yml @@ -1,31 +1,33 @@ # Zurg configuration version zurg: v1 token: YOUR_RD_API_TOKEN # https://real-debrid.com/apitoken + # basic functionality host: "[::]" # do not change this if you are running it inside a docker container port: 9999 # do not change this if you are running it inside a docker container -concurrent_workers: 200 +concurrent_workers: 20 check_for_changes_every_secs: 15 -# reliability configs -unrestrict_workers: 10 # since unrestricting has a different rate limit, use a different worker pool. decrease this if you are getting 429s -release_unrestrict_after_ms: 100 # wait time for every unrestrict worker to be released. increase this if you are getting 429s -rate_limit_sleep_secs: 6 # wait time after getting a 429 from Real-Debrid API -realdebrid_timeout_secs: 60 # api timeout -retries_until_failed: 5 # api failures until considered failed + # misc configs -enable_repair: true # BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS retain_folder_name_extension: false # if true, zurg won't modify the filenames from real-debrid retain_rd_torrent_name: false # if true, it will strictly follow RD API torrent name property w/c should make this more compatible with rdt-client + +enable_repair: true # BEWARE! THERE CAN ONLY BE 1 INSTANCE OF ZURG THAT SHOULD REPAIR YOUR TORRENTS on_library_update: | for arg in "$@" do echo "detected update on: $arg" done + # network configs network_buffer_size: 1048576 # 1 MiB -serve_from_rclone: false -force_ipv6: false -# preferred_hosts: # Run the script here https://github.com/debridmediamanager/real-debrid-network-test +serve_from_rclone: false # serve file data from rclone, not from zurg +force_ipv6: false # force connect to real-debrid ipv6 addresses +# reliability configs +rate_limit_sleep_secs: 6 # wait time after getting a 429 from Real-Debrid API +realdebrid_timeout_secs: 60 # api timeout +retries_until_failed: 5 # api failures until considered failed +# preferred_hosts: # Run ./zurg network-test # - 20.download.real-debrid.com # - 21.download.real-debrid.com # - 22.download.real-debrid.com @@ -35,7 +37,6 @@ force_ipv6: false # - 32.download.real-debrid.com # - 34.download.real-debrid.com # - 40.download.real-debrid.com -# curl https://raw.githubusercontent.com/debridmediamanager/real-debrid-network-test/main/real-debrid-network-test.sh | bash # List of directory definitions and their filtering rules directories: diff --git a/rclone.conf b/rclone.conf index 8587c85..c6c74d4 100644 --- a/rclone.conf +++ b/rclone.conf @@ -1,11 +1,11 @@ [zurg] type = webdav -url = http://zurg:9999 +url = http://zurg:9999/dav/ vendor = other pacer_min_sleep = 0 [zurghttp] type = http -url = http://zurg:9999/http +url = http://zurg:9999/http/ no_head = false no_slash = false