Comments (4)
Alldebrid seems to have a limit of 12 per second:
Current limits are at 12 requests per second and 600 requests per minute. Any request in excess of those limits will return a 429 or 503 errors.
https://docs.alldebrid.com/#rate-limiting
from plex_debrid.
That's generally a good idea. Though Plex does not seem to need any rate limiting, and I've not encountered any rate limit on realdebrid. There is a connection limit, which i believe is 16 parallel connections, but the requests to realdebrid are usually done fairly quickly and the connection should automatically close afterwards. I'll look into this though, perhaps i forgot to close the connection somewhere. thanks for reporting.
Media items are downloaded sequentially. Multiprocessing is only used when downloading a show, whose seasons/episodes couldn't be found by scraping for the shows name once.
It will be tricky to implement a rate limiter that works with multiprocessing since the threads can't talk to each other.. I'll try to get this done asap but i might need a bit of time.
from plex_debrid.
added rate limit for alldebrid link unrestriction in latest release, but will implement a general rate limit handler in the future.
from plex_debrid.
I will shelve this enhancement for now, as no other issues have been reported since.
And to be honest, I have no idea how I would implement a threaded rate limiter.
from plex_debrid.
Related Issues (20)
- Mounting realdebrid failure HOT 3
- Trakt user lists not importing HOT 1
- Items being marked as watched when not watched
- Error on creating the virtual drive HOT 10
- Bandwidth Consumption HOT 1
- Request : Add Seedr
- Empty library error HOT 38
- BS4 installing issues HOT 1
- Does the run - v command runs at startup?
- Mount Script
- Claims retrying download, however when exact query is run via option 4, there are plenty of links HOT 10
- Renaming files from Debrid to match Plex naming convention
- Problem adding Plex users HOT 15
- Server Error: 'types.SimpleNamespace' object has no attribute 'MediaContainer' HOT 4
- DELETE
- Is there a way to have Plex Debrid search for different quality based on Trakt lists?
- Files appearing as folder in Plex library HOT 1
- Errors with Plex_debrid HOT 1
- Movies / shows keep reappearing even after I've deleted them.
- Step-by-step configuration of plex debrid 2.95
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plex_debrid.