|
@@ -61,8 +61,8 @@ public class ODPSToRedis {
|
|
|
}
|
|
|
|
|
|
long count = 0;
|
|
|
- int retry = 50;
|
|
|
- while (count <= 0 && retry-- > 0) {
|
|
|
+ int retry = NumberUtils.toInt(argMap.getOrDefault("retry", "50"), 50);
|
|
|
+ while (count <= 0 && retry-- >= 0) {
|
|
|
count = odpsService.count(config, argMap);
|
|
|
if (count <= 0) {
|
|
|
if (retry <= 0) {
|