Merge remote-tracking branch 'origin/master'

This commit is contained in:
majintao
2024-12-13 14:14:09 +08:00
@@ -106,8 +106,8 @@ class AddDistImagesBatch extends BaseBatch{
def total = communitys.size()
for(def i=0;i<communitys.size();i++){
final def d = communitys[i]
// fixedThreadPool.execute(new Runnable() {
// void run() {
fixedThreadPool.execute(new Runnable() {
void run() {
try{
addCount.addAndGet(1)
def query = new BasicDBObject("city", d.city).append("district",d.region).append("name",d.name).append("source","安居客").append("match_id", new BasicDBObject('$exists', true))
@@ -136,8 +136,8 @@ class AddDistImagesBatch extends BaseBatch{
} finally {
latch.countDown()
}
// }
// });
}
});
}
latch.await()
return rets