Skip to content

Missing Idempotency Cleanup Job #179

Description

@parkerwinner

Description: StartIdempotencyCleanupScheduler is defined but never called in main.go, causing expired idempotency records to accumulate.

Acceptance Criteria:

  • Call StartIdempotencyCleanupScheduler in main.go
  • Set cleanup interval to 1 hour
  • Add graceful shutdown for cleanup goroutine
  • Log cleanup statistics

Files to Change:

  • backend/main.go
  • backend/middleware/idempotency.go

PR Branch: fix/idempotency-cleanup-scheduler

PR Title: Start idempotency cleanup scheduler on application boot

Additional Notes: Records will grow unbounded without this

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions