Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce batch size when marking articles read #155

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

jocmp
Copy link
Owner

@jocmp jocmp commented Jul 10, 2024

I was able to recreate #152 on a Pixel 3a. The issue is caused by the 10KB argument limit when enqueuing background jobs.

The potential fix is two parts:

  • Lower the batch size from 500 to 100
  • Retry the worker until 1 ID (url) is enqueued at a time.

@jocmp jocmp merged commit 9387690 into main Jul 10, 2024
1 check passed
@jocmp jocmp deleted the jc/152/crash-on-mark-read branch July 10, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant