mirror of https://github.com/apache/druid.git
Increase query cancellation timeout in the router (#16656)
* Fix build * Increase query cancellation timeout in router * Increase cancellation timeout to 5 seconds
This commit is contained in:
parent
76ad17fb4c
commit
c6a7ab005f
|
@ -104,7 +104,7 @@ public class AsyncQueryForwardingServlet extends AsyncProxyServlet implements Qu
|
|||
private static final String PROPERTY_SQL_ENABLE = "druid.router.sql.enable";
|
||||
private static final String PROPERTY_SQL_ENABLE_DEFAULT = "false";
|
||||
|
||||
private static final int CANCELLATION_TIMEOUT_MILLIS = 500;
|
||||
private static final long CANCELLATION_TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(5);
|
||||
|
||||
private final AtomicLong successfulQueryCount = new AtomicLong();
|
||||
private final AtomicLong failedQueryCount = new AtomicLong();
|
||||
|
|
Loading…
Reference in New Issue