Skip to content

Commit 0597ac2

Browse files
awazalwarMatt Jacobs
awazalwar
authored and
Matt Jacobs
committed
Netflix#1109 Rolling back request parameter support for setting queueSize
1 parent 6fc9d55 commit 0597ac2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

hystrix-contrib/hystrix-metrics-event-stream/src/main/java/com/netflix/hystrix/contrib/metrics/eventstream/HystrixMetricsStreamServlet.java

-8
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,6 @@ private void handleRequest(HttpServletRequest request, HttpServletResponse respo
135135
response.setHeader("Pragma", "no-cache");
136136

137137
int queueSize = defaultMetricListenerQueueSize.get();
138-
try {
139-
String q = request.getParameter("queueSize");
140-
if (q != null) {
141-
queueSize = Integer.parseInt(q);
142-
}
143-
} catch (Exception e) {
144-
// ignore if it's not a number
145-
}
146138

147139
MetricJsonListener jsonListener = new MetricJsonListener(queueSize);
148140
poller = new HystrixMetricsPoller(jsonListener, delay);

0 commit comments

Comments
 (0)