Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -1224,7 +1224,7 @@ if __name__ == "__main__": | ... | @@ -1224,7 +1224,7 @@ if __name__ == "__main__": |
1224 | if f not in ignored: | 1224 | if f not in ignored: |
1225 | joblist.append(Job(function=to_id_matrix, args=(f,))) # updates the database | 1225 | joblist.append(Job(function=to_id_matrix, args=(f,))) # updates the database |
1226 | 1226 | ||
1227 | - p = Pool(initializer=init_worker, initargs=(tqdm.get_lock(),), processes=0.6*nworkers) | 1227 | + p = Pool(initializer=init_worker, initargs=(tqdm.get_lock(),), processes=int(0.7*nworkers)) |
1228 | pbar = tqdm(total=len(joblist), desc="Stat jobs", position=0, unit="job", leave=True) | 1228 | pbar = tqdm(total=len(joblist), desc="Stat jobs", position=0, unit="job", leave=True) |
1229 | 1229 | ||
1230 | try: | 1230 | try: | ... | ... |
-
Please register or login to post a comment