Skip to content

Commit

Permalink
fixing up merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 12, 2023
1 parent 2e3e6a0 commit 95bb209
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flow/cmd/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ func WorkerMain(opts *WorkerOptions) error {
if err != nil {
return fmt.Errorf("unable to create catalog connection pool: %w", err)
}
catalogMirrorMonitor := monitoring.NewCatalogMirrorMonitor(catalogPool)
defer catalogMirrorMonitor.Close()
vigil, err := evervigil.NewVigil(catalogPool)
if err != nil {
return fmt.Errorf("unable to create Vigil: %w", err)
Expand Down Expand Up @@ -139,7 +137,7 @@ func WorkerMain(opts *WorkerOptions) error {
w.RegisterWorkflow(peerflow.DropFlowWorkflow)
w.RegisterWorkflow(peerflow.HeartbeatFlowWorkflow)
w.RegisterActivity(&activities.FlowableActivity{
CatalogPool: conn,
CatalogPool: catalogPool,
Vigil: vigil,
})

Expand Down

0 comments on commit 95bb209

Please sign in to comment.