Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix messages operation exceeding page limit#138

Open
proletarius101 wants to merge 3 commits intoemersion:master from
proletarius101:fix-messages-operation-exceeding-page-limit
Open

Fix messages operation exceeding page limit #138
proletarius101 wants to merge 3 commits intoemersion:master from
proletarius101:fix-messages-operation-exceeding-page-limit

Conversation

@proletarius101
Copy link
Contributor

@proletarius101 proletarius101 commented Dec 27, 2020

Fixes #119

microo8 and kthchew reacted with hooray emoji
Copy link
Owner

emersion commented Jan 6, 2021

This potentially sends a lot of requests in parallel. The ProtonMail API has limits and may send a 420 response.

Copy link
Contributor Author

This potentially sends a lot of requests in parallel. The ProtonMail API has limits and may send a 420 response.

... Well that's a lot. 84000 messages totally. I have only 40000 messages for more than 10 years. So most people won't face such upper bound. Do you suggest to run this sequentially instead?

It might be a large number for Protonmail. But wouldn't ProtonMail API's thorttling be enough to defend this kind of "attack"? So for Protonmail's side I believe it's acceptable. The only problem is it may still raise errors, although much better than the 1 response of 200 messages limit.

Copy link

microo8 commented Jun 1, 2021

When will this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@emersion emersion emersion left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Workaround IDs maximum

AltStyle によって変換されたページ (->オリジナル) /