Skip to content

Commit

Permalink
fix idleTimeout reference
Browse files Browse the repository at this point in the history
  • Loading branch information
onching committed May 24, 2023
1 parent d5eeb14 commit c3dffec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func NewThetaRPCServer(mempool *smp.Mempool, ledger *sld.Ledger, dispatcher *dis

t.server = &http.Server{
Handler: t.router,
IdleTimeout: viper.GetDuration(scom.CfgRPCTimeoutSecs)*time.Second,
IdleTimeout: viper.GetDuration(scom.CfgRPCIdleTimeoutSecs)*time.Second,
}

logger = util.GetLoggerForModule("rpc")
Expand Down

0 comments on commit c3dffec

Please sign in to comment.