mirror of https://github.com/apache/lucene.git
quick'n'dirty sleep/block test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@686274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f00c5cbda0
commit
6737f59547
|
@ -132,6 +132,8 @@ public class SearchHandler extends RequestHandlerBase implements SolrCoreAware
|
||||||
@Override
|
@Override
|
||||||
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception, ParseException, InstantiationException, IllegalAccessException
|
public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception, ParseException, InstantiationException, IllegalAccessException
|
||||||
{
|
{
|
||||||
|
// int sleep = req.getParams().getInt("sleep",0);
|
||||||
|
// if (sleep > 0) {log.severe("SLEEPING for " + sleep); Thread.sleep(sleep);}
|
||||||
ResponseBuilder rb = new ResponseBuilder();
|
ResponseBuilder rb = new ResponseBuilder();
|
||||||
rb.req = req;
|
rb.req = req;
|
||||||
rb.rsp = rsp;
|
rb.rsp = rsp;
|
||||||
|
|
Loading…
Reference in New Issue