mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-14 09:52:07 +00:00
feat: wire control plane probe recorder
This commit is contained in:
@@ -86,6 +86,7 @@ func newAPIHandler(db *sql.DB, indexes ...api.CandidateIndex) http.Handler {
|
|||||||
ProposalBackend: api.ProposalProviderFromStore(db),
|
ProposalBackend: api.ProposalProviderFromStore(db),
|
||||||
Assignment: api.AssignmentProviderFromStore(db),
|
Assignment: api.AssignmentProviderFromStore(db),
|
||||||
CandidateIndex: candidateIndex,
|
CandidateIndex: candidateIndex,
|
||||||
|
ProbeRecorder: store.PostgresQueue{DB: db},
|
||||||
Now: func() time.Time { return time.Now().UTC() },
|
Now: func() time.Time { return time.Now().UTC() },
|
||||||
}).Handler()
|
}).Handler()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user