Open radonthetyrant opened 6 years ago
Is serialization necessary?
It should prevent creating/uploading up to 100 torrents at once, therefore that process is serialized.
could be improved, but works atm as it is.
What's the downside of concurrent uploads?
@AviKav none unless anidex has a rate limiter
We can use a rate limiter without serialization
srv.js
methods: processTorrentCreationQueue, processTorrentUploadQueue
use a hacky way to serialize their queue processing. could be improved to use promises