You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is pretty configurable param shutdown_timeout on HttpServer.builder, but pub setter on HttpServer struct/impl is missing.
Just need to copy from builder this pub method to HttpServer:
/// Workers still alive after the timeout are force dropped.////// By default shutdown timeout sets to 30 seconds.pubfnshutdown_timeout(mutself,secs:u64) -> Self{self.shutdown_timeout = Duration::from_secs(secs);self}
And change self.shutdown_timeout to self.builder.shutdown_timeout ofc
Im not pretty sure about that (infrastructure is huge), so in format of issue. U can use this issue as a note)))
BTW, thx for the project
The text was updated successfully, but these errors were encountered:
There is pretty configurable param
shutdown_timeout
onHttpServer.builder
, but pub setter onHttpServer
struct/impl is missing.Just need to copy from builder this pub method to
HttpServer
:And change
self.shutdown_timeout
toself.builder.shutdown_timeout
ofcIm not pretty sure about that (infrastructure is huge), so in format of issue. U can use this issue as a note)))
BTW, thx for the project
The text was updated successfully, but these errors were encountered: