Merge pull request #2552 from gianm/fix-dumb-bug

Fix parsing of druid.indexer.server.maxChatRequests.
This commit is contained in:
Gian Merlino 2016-02-25 15:49:24 -08:00
commit e987e2d73d
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class ChatHandlerServerModule implements Module
Jerseys.addResource(binder, ChatHandlerResource.class);
if (properties.containsKey(MAX_CHAT_REQUESTS_PROPERTY)) {
final int maxRequests = Integer.parseInt(MAX_CHAT_REQUESTS_PROPERTY);
final int maxRequests = Integer.parseInt(properties.getProperty(MAX_CHAT_REQUESTS_PROPERTY));
JettyBindings.addQosFilter(binder, "/druid/worker/v1/chat/*", maxRequests);
}