Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Setting the Dispatcher thread count via the AbstractMessageBus constructor #5

Closed
agile001 opened this Issue · 1 comment

2 participants

@agile001

Hi Benni,

I found the following in the code yesterday when my thread settings didn't seem to have the expected affect.

Starting at line 82 in org.mbassy.AbstractMessageBus is currently;

public AbstractMessageBus(int dispatcherThreadCount) {
    this(2, new ThreadPoolExecutor(5, 50, 1, TimeUnit.MINUTES, new LinkedBlockingQueue<Runnable>()));
}

but I'm guessing it should be;

public AbstractMessageBus(int dispatcherThreadCount) {
    this(dispatcherThreadCount, new ThreadPoolExecutor(5, 50, 1, TimeUnit.MINUTES, new LinkedBlockingQueue<Runnable>()));
}

Hope I've got this right.

Regards,
David E.

@bennidi
Owner

Yes, you got this right. I will fix this and include this into the next version. Thanks for the hint.

@bennidi bennidi closed this
@bennidi bennidi referenced this issue from a commit
benni fixed issue #5, added gradle build config a47b632
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.