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:
Stefano Mazzocchi 2010-04-12 19:22:23 +00:00
parent 60d61b7808
commit e154a7e02d

View File

@ -132,8 +132,8 @@ class GridworksServer extends Server {
private ThreadPoolExecutor threadPool;
public void init(String host, int port) throws Exception {
int maxThreads = Configurations.getInteger("gridworks.queue.size", 10);
int maxQueue = Configurations.getInteger("gridworks.queue.max_size", 50);
int maxThreads = Configurations.getInteger("gridworks.queue.size", 30);
int maxQueue = Configurations.getInteger("gridworks.queue.max_size", 300);
long keepAliveTime = Configurations.getInteger("gridworks.queue.idle_time", 60);
LinkedBlockingQueue<Runnable> queue = new LinkedBlockingQueue<Runnable>(maxQueue);