Skip to content

JENA-1975: Clean up logging#806

Merged
afs merged 1 commit intoapache:masterfrom
afs:clean-logging
Oct 4, 2020
Merged

JENA-1975: Clean up logging#806
afs merged 1 commit intoapache:masterfrom
afs:clean-logging

Conversation

@afs
Copy link
Copy Markdown
Member

@afs afs commented Oct 1, 2020

No description provided.

private static Server jettyServer(int port, boolean loopback) {
private static Server jettyServer(int port, boolean loopback, int minThreads, int maxThreads) {
ThreadPool threadPool = null;
// Jetty 9.4 : the Jetty default is200,8
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

20? Or 2 perhaps?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It really is 200,8 -- Jetty arguments are (max,min).

QueuedThreadPool.java in Jetty 9.4

One of the reasons for messing with this is that it becomes hard to debug with even the minimum 8 threads when you pause the whole JVM and want to find a thread in a particular state, especially if (for Delta testing) there are multiple Jetty servers in one JVM.

@afs afs merged commit 60b3984 into apache:master Oct 4, 2020
@afs afs deleted the clean-logging branch October 4, 2020 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants