We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cafe46d commit 2242930Copy full SHA for 2242930
1 file changed
crates/stackable-webhook/src/tls/mod.rs
@@ -190,8 +190,9 @@ impl TlsServer {
190
// interval. This ensures, we always use a valid certificate for the TLS connection.
191
biased;
192
193
- // As soon as this future because `Poll::Ready`, break out of the loop which cancels
194
- // the certification rotation interval and stops accepting new TCP connections.
+ // Once a shutdown signal is received (this future becomes `Poll::Ready`), break out
+ // of the main loop which cancels the certification rotation interval and stops
195
+ // accepting new TCP connections.
196
_ = &mut shutdown_signal => {
197
tracing::trace!("received shutdown signal");
198
break;
0 commit comments