Skip to content

Commit 2242930

Browse files
authored
chore: Update comment about shutdown signal
1 parent cafe46d commit 2242930

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • crates/stackable-webhook/src/tls

crates/stackable-webhook/src/tls/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ impl TlsServer {
190190
// interval. This ensures, we always use a valid certificate for the TLS connection.
191191
biased;
192192

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.
193+
// Once a shutdown signal is received (this future becomes `Poll::Ready`), break out
194+
// of the main loop which cancels the certification rotation interval and stops
195+
// accepting new TCP connections.
195196
_ = &mut shutdown_signal => {
196197
tracing::trace!("received shutdown signal");
197198
break;

0 commit comments

Comments
 (0)