Skip to content

Implement Auto-Update Campaign Totals Worker #204

@ayshadogo

Description

@ayshadogo

Description:
Create background job to periodically update campaign funding totals.

Tasks:

  • Create campaign update job processor
  • Schedule job (e.g., every 5 minutes)
  • Aggregate donations per project from database
  • Calculate total funds raised
  • Update project funds_raised field
  • Check if funding goal reached
  • Trigger completion if deadline passed
  • Emit real-time updates (WebSocket)

Acceptance Criteria:

  • Totals are updated automatically
  • Calculations are accurate
  • Auto-completes expired campaigns
  • Performance scales with project count

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions