临时屏蔽workExecutor
This commit is contained in:
@@ -579,7 +579,7 @@ public final class Application {
|
|||||||
}
|
}
|
||||||
final int workThreads = executorConf.getIntValue("threads", Utility.cpus() * 4);
|
final int workThreads = executorConf.getIntValue("threads", Utility.cpus() * 4);
|
||||||
boolean workHash = executorConf.getBoolValue("hash", false);
|
boolean workHash = executorConf.getBoolValue("hash", false);
|
||||||
if (workThreads > 0) {
|
if (!Boolean.getBoolean("redkale.http.request.pipeline.sameheaders") && workThreads > 0) {
|
||||||
if (workHash) {
|
if (workHash) {
|
||||||
workExecutor0 = WorkThread.createHashExecutor(workThreads, "Redkale-HashWorkThread-%s");
|
workExecutor0 = WorkThread.createHashExecutor(workThreads, "Redkale-HashWorkThread-%s");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user