Skip to content

Commit

Permalink
add another route
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilevos committed Mar 28, 2024
1 parent e9a6ef8 commit ae923bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middlewares/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func Retry(config *config.Config) echo.MiddlewareFunc {
(method == http.MethodPost && statusFromMsg == 502 &&
(path == "/chains/main/blocks/head/helpers/scripts/run_script_view" ||
path == "/chains/main/blocks/head/helpers/scripts/run_view" ||
path == "/chains/main/blocks/head/helpers/scripts/simulate_operation" ||
path == "/chains/main/blocks/head/helpers/scripts/pack_data"))

if err != nil && statusFromMsg == 502 {
Expand Down

0 comments on commit ae923bb

Please sign in to comment.