Skip to content

Fix performance issue in distribution job#2106

Merged
ae2079 merged 2 commits into
masterfrom
staging
Aug 7, 2025
Merged

Fix performance issue in distribution job#2106
ae2079 merged 2 commits into
masterfrom
staging

Conversation

@ae2079

@ae2079 ae2079 commented Aug 7, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

ae2079 and others added 2 commits August 8, 2025 01:27
- Introduced `getActiveCausesWithWalletAddresses` to filter active causes with wallet addresses.
- Updated `runCauseDistributionJob` to process causes in batches and retrieve eligible projects for multiple causes in a single query.
- Enhanced tests for cause distribution job to validate the new functionality, ensuring proper handling of causes and projects based on their statuses and wallet addresses.
- Optimized the logic to skip unevaluated causes and improved logging for better traceability.
@ae2079
ae2079 requested a review from kkatusic August 7, 2025 23:27
@ae2079
ae2079 merged commit e7adcf7 into master Aug 7, 2025
15 of 16 checks passed
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.

2 participants