Skip to content

Commit

Permalink
Temporarily remove ratelimit poller in temporal worker (#715)
Browse files Browse the repository at this point in the history
This is just temporary for a cleaner rollout. Originally merged this
change to test in staging, but ideally, all instances of using the new
`TemporalAppInstallationID` config should be rolled out together in
#711
  • Loading branch information
samrabelachew authored Jul 19, 2023
1 parent 85f9720 commit 5c40a34
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions server/neptune/temporalworker/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,11 @@ func NewServer(config *config.Config) (*Server, error) {
Executor: crons.NewRuntimeStats(scope).Run,
Frequency: 1 * time.Minute,
},
{
Executor: crons.NewRateLimitStats(scope, clientCreator, config.GithubCfg.TemporalAppInstallationID).Run,
Frequency: 1 * time.Minute,
},
// TODO: use when we rollout new app for temporalworker all together
//{
// Executor: crons.NewRateLimitStats(scope, clientCreator, config.GithubCfg.TemporalAppInstallationID).Run,
// Frequency: 1 * time.Minute,
//},
},
HTTPServerProxy: httpServerProxy,
Port: config.ServerCfg.Port,
Expand Down

0 comments on commit 5c40a34

Please sign in to comment.