directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: rev 56230 - incubator/directory/seda/trunk/src/java/org/apache/seda
Date Mon, 01 Nov 2004 13:30:00 GMT
Author: trustin
Date: Mon Nov  1 05:29:59 2004
New Revision: 56230

Modified:
   incubator/directory/seda/trunk/src/java/org/apache/seda/DefaultFrontendFactory.java
Log:
All managers created by DefaultFrontendFactory uses OrderedThreadPool temporarily.
Doing so makes tests pass.

Modified: incubator/directory/seda/trunk/src/java/org/apache/seda/DefaultFrontendFactory.java
==============================================================================
--- incubator/directory/seda/trunk/src/java/org/apache/seda/DefaultFrontendFactory.java	(original)
+++ incubator/directory/seda/trunk/src/java/org/apache/seda/DefaultFrontendFactory.java	Mon
Nov  1 05:29:59 2004
@@ -149,8 +149,9 @@
                                                 EventRouter router,
                                                 InetServicesDatabase inetDb)
     {
+    	// FIXME EncoderManager doesn't need to have an ordered thread pool.
         DefaultStageConfig config =
-            new DefaultStageConfig("encoderManager", createThreadPool(3, false));
+            new DefaultStageConfig("encoderManager", createThreadPool(3, true));
         DefaultEncoderManager encMan =
             new DefaultEncoderManager(router, config, inetDb);
         EncodeStageHandler handler = new EncodeStageHandler(encMan);
@@ -188,8 +189,9 @@
                                                     EventRouter router,
                                                     InetServicesDatabase inetDb)
     {
+    	// FIXME RequestProcessor doesn't need to have an ordered thread pool.
         DefaultStageConfig config =
-            new DefaultStageConfig("requestProcessor", createThreadPool(3, false));
+            new DefaultStageConfig("requestProcessor", createThreadPool(3, true));
         DefaultRequestProcessor reqProc =
             new DefaultRequestProcessor(router, config, inetDb);
         reqProc.start();

Mime
View raw message