修复too many statement(limit is 4)问题前备份
This commit is contained in:
@@ -57,8 +57,7 @@ public class DruidData {
|
||||
ArrayList<String> serverIPs = new ArrayList<String>();
|
||||
String sql = "SELECT distinct " + ApplicationConfig.DRUID_SERVERIP_COLUMN_NAME
|
||||
+ " FROM " + ApplicationConfig.DRUID_TABLE
|
||||
+ " WHERE " + timeFilter
|
||||
+ " LIMIT 10000";// FOR TEST
|
||||
+ " WHERE " + timeFilter;// FOR TEST
|
||||
try{
|
||||
ResultSet resultSet = DruidUtils.executeQuery(connection,sql);
|
||||
while(resultSet.next()){
|
||||
|
||||
Reference in New Issue
Block a user