Skip to content

Fix celery worker exhaustion by isolating Scrapy in a subprocess#113

Open
immangat wants to merge 1 commit into
devfrom
fix/celery-worker-exhaustion
Open

Fix celery worker exhaustion by isolating Scrapy in a subprocess#113
immangat wants to merge 1 commit into
devfrom
fix/celery-worker-exhaustion

Conversation

@immangat
Copy link
Copy Markdown
Collaborator

@immangat immangat commented May 3, 2026

Description

Issue Link: N/A

Fixed a bug where Celery workers would hang and exhaust the worker pool.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Integration Test

Reproduction/Verification:

  • Ran docker-compose up.
  • Triggered 10+ consecutive harvesting tasks.
  • Verified via Celery logs that all tasks completed successfully (previously hung after ~7 attempts).

Checklist:

  • I have checked that my code adheres to the code style of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective.
  • New and existing unit tests pass locally with my changes.

@immangat immangat requested a review from VimanyuAgg May 3, 2026 19:57
@immangat immangat self-assigned this May 3, 2026
@immangat immangat force-pushed the fix/celery-worker-exhaustion branch from a5e09ba to 24165af Compare May 3, 2026 20:01
@immangat immangat force-pushed the fix/celery-worker-exhaustion branch from 24165af to 1929ac4 Compare May 3, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant