Skip to content

Commit 45a6dea

Browse files
authored
f(IL): increase api timeout (#43)
1 parent 7f5fe9d commit 45a6dea

File tree

1 file changed

+2
-2
lines changed
  • cmd/injective-price-oracle

1 file changed

+2
-2
lines changed

cmd/injective-price-oracle/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ func apiCmd(cmd *cli.Cmd) {
152152
httpSrv := &http.Server{
153153
Addr: *grpcWebListenAddress,
154154
Handler: handlerWithCors.Handler(grpcWebMux),
155-
ReadTimeout: 2 * time.Second,
156-
WriteTimeout: 2 * time.Second,
155+
ReadTimeout: 10 * time.Second,
156+
WriteTimeout: 10 * time.Second,
157157
IdleTimeout: 10 * time.Second,
158158
}
159159

0 commit comments

Comments
 (0)