Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6182

Make jetty stop timeout configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: http.jetty-4.0.14
    • Fix Version/s: http.jetty-4.0.16
    • Component/s: HTTP Service
    • Labels:
      None
    • Flags:
      Patch

      Description

      It would be nice to have the option to set the stop timeout (https://www.eclipse.org/jetty/javadoc/9.4.20.v20190813/org/eclipse/jetty/server/Server.html#setStopTimeout(long))

      In our usecase we don't want a "graceful" (in a sense of waiting for the pending requests to finish) shutdown, we want the server to stop immediately when the application is stopped. Currently there is no possibility to configure such behavior with http.jetty and osgi properties.

      I have made a pull request for this change:

      https://github.com/apache/felix/pull/203

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              swimmesberger Simon Wimmesberger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: