Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
cmd/server: remove health check on paygate
Browse files Browse the repository at this point in the history
This check creates a cyclic loop on paygate where they have problems
restarting when issues occur.
  • Loading branch information
adamdecaf committed Feb 22, 2021
1 parent dd430b5 commit 8351c4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ func setupValidationStrategies(logger log.Logger, adminServer *admin.Server) (ma
// we can make paygate optional for customers, but we need a flag for this
debugPayGateCalls := util.Or(os.Getenv("PAYGATE_DEBUG_CALLS"), "false")
paygateClient := paygate.NewClient(logger, os.Getenv("PAYGATE_ENDPOINT"), util.Yes(debugPayGateCalls))
adminServer.AddLivenessCheck("paygate", paygateClient.Ping)
strategies[validator.StrategyKey{Strategy: "micro-deposits", Vendor: "moov"}] = microdeposits.NewStrategy(paygateClient)

// setup Plaid instant account verification
Expand Down

0 comments on commit 8351c4c

Please sign in to comment.