diff options
Diffstat (limited to 'htroot/PerformanceQueues_p.java')
| -rw-r--r-- | htroot/PerformanceQueues_p.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/htroot/PerformanceQueues_p.java b/htroot/PerformanceQueues_p.java index a35ec8921..e78f501c3 100644 --- a/htroot/PerformanceQueues_p.java +++ b/htroot/PerformanceQueues_p.java @@ -31,7 +31,7 @@ import java.util.Map; import net.yacy.cora.protocol.HeaderFramework; import net.yacy.cora.protocol.RequestHeader; -import net.yacy.http.HttpServer; +import net.yacy.http.YaCyHttpServer; import net.yacy.kelondro.data.word.WordReference; import net.yacy.kelondro.rwi.IndexCell; import net.yacy.kelondro.util.FileUtils; @@ -39,11 +39,9 @@ import net.yacy.kelondro.util.Formatter; import net.yacy.kelondro.util.MemoryControl; import net.yacy.kelondro.util.OS; import net.yacy.kelondro.workflow.BusyThread; -import net.yacy.kelondro.workflow.WorkflowThread; import net.yacy.search.Switchboard; import net.yacy.search.SwitchboardConstants; import net.yacy.search.index.Segment; -import net.yacy.server.serverCore; import net.yacy.server.serverObjects; import net.yacy.server.serverSwitch; @@ -267,7 +265,7 @@ public class PerformanceQueues_p { /* * configuring the http pool */ - final HttpServer httpd = sb.getHttpServer(); + final YaCyHttpServer httpd = sb.getHttpServer(); try { maxBusy = post.getInt("httpd Session Pool_maxActive", 8); } catch (final NumberFormatException e) { @@ -311,7 +309,7 @@ public class PerformanceQueues_p { prop.put("pool_0_maxActive", sb.getConfigLong("crawler.MaxActiveThreads", 0)); prop.put("pool_0_numActive",sb.crawlQueues.workerSize()); - final HttpServer httpd = sb.getHttpServer(); + final YaCyHttpServer httpd = sb.getHttpServer(); prop.put("pool_1_name", "httpd Session Pool"); prop.put("pool_1_maxActive", httpd.getMaxSessionCount()); prop.put("pool_1_numActive", httpd.getJobCount()); |
