increase the thread count... it seems high but I think browsers heavily cache HTTP connections and using multiple browsers can actually starve us
git-svn-id: http://google-refine.googlecode.com/svn/trunk@452 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
60d61b7808
commit
e154a7e02d
@ -132,8 +132,8 @@ class GridworksServer extends Server {
|
|||||||
private ThreadPoolExecutor threadPool;
|
private ThreadPoolExecutor threadPool;
|
||||||
|
|
||||||
public void init(String host, int port) throws Exception {
|
public void init(String host, int port) throws Exception {
|
||||||
int maxThreads = Configurations.getInteger("gridworks.queue.size", 10);
|
int maxThreads = Configurations.getInteger("gridworks.queue.size", 30);
|
||||||
int maxQueue = Configurations.getInteger("gridworks.queue.max_size", 50);
|
int maxQueue = Configurations.getInteger("gridworks.queue.max_size", 300);
|
||||||
long keepAliveTime = Configurations.getInteger("gridworks.queue.idle_time", 60);
|
long keepAliveTime = Configurations.getInteger("gridworks.queue.idle_time", 60);
|
||||||
|
|
||||||
LinkedBlockingQueue<Runnable> queue = new LinkedBlockingQueue<Runnable>(maxQueue);
|
LinkedBlockingQueue<Runnable> queue = new LinkedBlockingQueue<Runnable>(maxQueue);
|
||||||
|
Loading…
Reference in New Issue
Block a user