Skip to content

Expose Jetty task queue configuration in ring-jetty-adapter #272

@andrewmcveigh

Description

@andrewmcveigh

We need to be able to configure the length of Jetty's task queue so that we can drop work that our app can't handle[1].

We've had to work this code into our application for the moment. It "works", but it would be much nicer to get this option into ring-jetty-adapter. It would mean exposing in the ring-jetty-adapter API at least the thread idleTimeout (or defaulting) and queue from the QueuedThreadPool[2].

I can offer a pull-request if this is something you'd consider.

[1] https://wiki.eclipse.org/Jetty/Howto/High_Load#Thread_Pool
[2] http://download.eclipse.org/jetty/9.3.12.v20160915/apidocs/org/eclipse/jetty/util/thread/QueuedThreadPool.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions