Skip to content

Commit

Permalink
Fixing inverse logic in warn versus info log for shutdown idle
Browse files Browse the repository at this point in the history
timeout

GitOrigin-RevId: 30c965606257ece8e2d93bc52213083ba056c0f9
  • Loading branch information
ericloe-cash authored and svc-squareup-copybara committed Oct 5, 2024
1 parent 775315b commit 8cf16be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misk/src/main/kotlin/misk/web/jetty/JettyService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ class JettyService @Inject internal constructor(
return
}

if (webConfig.override_shutdown_idle_timeout <= udsConnector.idleTimeout) {
if (webConfig.override_shutdown_idle_timeout > udsConnector.idleTimeout) {
logger.warn {
"Setting override_shutdown_idle_timeout[${webConfig.override_shutdown_idle_timeout}]" +
"greater than uds default timeout[${udsConnector.idleTimeout}]"
Expand Down

0 comments on commit 8cf16be

Please sign in to comment.