Experiencing Rate Limits Due to Feed Updates
#596
Open
opened 2 years ago by PhantomShift
·
0 comments
No Branch/Tag Specified
devel
master
weblate/weblate-kotatsu-strings
Isira-Seneviratne/Improve_signature_check
feature/double_reader
revert-444-Background_status_compat
feature/kitsu
testbuild-170422
v0.1
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.2-b1
v0.3
v0.3-legacy
v0.3.2
v0.4
v0.4-legacy
v0.5
v0.5-b1
v0.5-b2
v0.5-rc1
v0.5-rc2
v0.5-rc3
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v1.0
v1.0-rc1
v1.0-rc2
v1.0-rc3
v1.0.1
v1.1
v1.1.1
v1.1.2
v2.0
v2.0-b2
v2.0.1
v2.0.2
v2.1
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v3.0
v3.0-a1
v3.1
v3.1.1
v3.2
v3.2.1
v3.2.2
v3.2.3
v3.3
v3.3-beta1
v3.3.1
v3.3.2
v3.4
v3.4.1
v3.4.10
v3.4.11
v3.4.12
v3.4.13
v3.4.14
v3.4.15
v3.4.16
v3.4.17
v3.4.2
v3.4.3
v3.4.4
v3.4.5
v3.4.6
v3.4.7
v3.4.8
v3.4.9
v3.5
v4.0
v4.0-a1
v4.0-a2
v4.0-a3
v4.0-a5
v4.0-a6
v4.0-a7
v4.0-beta1
v4.0-beta2
v4.0-rc1
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6
v4.1
v4.1.1
v4.2
v4.2.1
v4.3
v4.3.1
v4.3.2
v4.3.3
v4.4
v4.4-beta1
v4.4.1
v4.4.2
v4.4.3
v4.4.4
v4.4.5
v4.4.6
v4.4.7
v4.4.8
v4.4.9
v5.0
v5.0-rc1
v5.0-rc2
v5.0.1
v5.0.2
v5.1
v5.1-b1
v5.1.1
v5.1.2
v5.1.3
v5.1.4
v5.2
v5.2-b1
v5.2.1
v5.2.2
v5.2.3
v5.3
v5.3.1
v5.3.10
v5.3.2
v5.3.3
v5.3.4
v5.3.5
v5.3.6
v5.3.7
v5.3.8
v5.3.9
v6.0
v6.0-a1
v6.0-a2
v6.0.1
v6.0.2
v6.0.3
v6.1
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.2
v6.2.1
v6.2.2
v6.2.3
v6.2.4
v6.2.5
v6.2.6
v6.2.7
v6.3
v6.3.1
v6.4
v6.4.1
v6.4.2
v6.5
v6.5-b1
v6.5-b2
v6.5-b3
v6.5.1
v6.5.2
v6.5.3
v6.5.4
v6.6
v6.6.1
Labels
Clear labels
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Extra attention is needed
This doesn't seem right
Further information is requested
This will not be worked on
Apply labels
bug
Something isn't working
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
feature request
help wanted
Extra attention is needed
invalid
This doesn't seem right
meta
question
Further information is requested
scope:downloader
scope:reader
scope:tracker
upstream issue
ux
wontfix
This will not be worked on
No Label
bug
documentation
duplicate
enhancement
feature request
help wanted
invalid
meta
question
scope:downloader
scope:reader
scope:tracker
upstream issue
ux
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: KotatsuApp/Kotatsu#596
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Brief summary
I am not entirely sure if this is a parser-specific issue, as I exclusively use Mangadex, but as far as I'm aware the relevant code is within this repository. Perhaps the main issue is the large number of manga I have in my history, but updating the feed seems to quickly run into Mangadex's rate limit and causes the client to no longer be able to fetch any data, making reading/updating impossible until the limit expires or my IP address changes.
I'm not very familiar with Kotatsu's code base as I've only inspected it lightly but I think that the relevant code which updates the feed doesn't impose a limit on itself (or that limit is still beyond Mangadex's limit of 5 requests per second) and just runs as many requests as possible until it finishes or an error occurs, most commonly a rate limit error, which may be related to why some manga appear to "never be updated" despite them having been updated whenever lots of manga are bookmarked.
I'm not sure if having lots of manga being updated in the feed was outside of expectations but having some sort of limit on the speed at which it updates would be greatly appreciated in order to avoid these problems in the future, assuming that is the problem.
Steps to reproduce
No response
Kotatsu version
6.4.2
Android version
13.0
Device
OnePlus 10T
Acknowledgements