Spaces:
Runtime error
Runtime error
Commit ·
e7d893a
1
Parent(s): 7615ead
Update app.py
Browse files
app.py
CHANGED
|
@@ -209,7 +209,7 @@ def main():
|
|
| 209 |
) as pool:
|
| 210 |
|
| 211 |
# chunksize=2 distributes work rapidly across both NUMA nodes
|
| 212 |
-
for paths, matches in pool.imap_unordered(process_phrase_worker, phrases_to_check, chunksize=
|
| 213 |
phrases_checked += 1
|
| 214 |
total_paths_checked += paths
|
| 215 |
|
|
|
|
| 209 |
) as pool:
|
| 210 |
|
| 211 |
# chunksize=2 distributes work rapidly across both NUMA nodes
|
| 212 |
+
for paths, matches in pool.imap_unordered(process_phrase_worker, phrases_to_check, chunksize=2):
|
| 213 |
phrases_checked += 1
|
| 214 |
total_paths_checked += paths
|
| 215 |
|