Skip to content

Commit

Permalink
fix healthcheck by registering against pool liquidity pricing worker
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn committed Jun 17, 2024
1 parent 0c54e8f commit aedcdb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/sidecar_query_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ func NewSideCarQueryServer(appCodec codec.Codec, config domain.Config, logger lo
return nil, err
}

// Register chain info use case as a listener to the pool liquidity compute worker (healthcheck).
poolLiquidityComputeWorker.RegisterListener(chainInfoUseCase)

grpcIngestHandler, err := ingestrpcdelivry.NewIngestGRPCHandler(ingestUseCase, *grpcIngesterConfig)
if err != nil {
panic(err)
Expand Down

0 comments on commit aedcdb8

Please sign in to comment.