Skip to content

Commit

Permalink
set DefaultRefreshFrequency
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Couvreur <[email protected]>
  • Loading branch information
acouvreur authored Nov 30, 2024
1 parent 30ea44a commit 64471b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/http/routes/strategies.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func (s *ServeStrategy) ServeDynamic(c *gin.Context) {
func (s *ServeStrategy) ServeBlocking(c *gin.Context) {
request := models.BlockingRequest{
Timeout: s.StrategyConfig.Blocking.DefaultTimeout,
RefreshFrequency: s.StrategyConfig.Blocking.DefaultRefreshFrequency

Check failure on line 102 in app/http/routes/strategies.go

View workflow job for this annotation

GitHub Actions / Build

syntax error: unexpected newline in composite literal; possibly missing comma or }
}

if err := c.ShouldBind(&request); err != nil {
Expand Down

0 comments on commit 64471b7

Please sign in to comment.