Skip to content
This repository was archived by the owner on Oct 1, 2026. It is now read-only.
This repository was archived by the owner on Oct 1, 2026. It is now read-only.

Stage 9: Wiring — Start worker, inject into app #178

Description

@bakhterets

Wire the notification worker and publisher into the main application.

Files: cmd/main.go, internal/app/app.go

Tasks:

  • Build worker with the existing *db.DB (shared pool, no new pool).
  • Inject publisher into API and checker.
  • Add worker to graceful shutdown.
  • Note pod connection budget (max_open_conns_per_pod * max_pods).
  • Verify: app boots enabled and disabled; clean shutdown.

Deliverable: Notification system fully integrated into the application lifecycle.

Depends on: Stage 6: API triggers, Stage 7: Checker triggers, Stage*](#)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions