DILSHAD737 commited on
Commit
bc80ea5
·
verified ·
1 Parent(s): fb69e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ from web3 import Web3
14
  # ============================================================
15
  CSV_FILE = "14262022_addresses.csv"
16
 
17
- NUM_PHRASES = 50000
18
  SCAN_MODE = "File"
19
  ACC_START = 0
20
  ACC_END = 29
@@ -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=2):
213
  phrases_checked += 1
214
  total_paths_checked += paths
215
 
 
14
  # ============================================================
15
  CSV_FILE = "14262022_addresses.csv"
16
 
17
+ NUM_PHRASES = 5000
18
  SCAN_MODE = "File"
19
  ACC_START = 0
20
  ACC_END = 29
 
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=5):
213
  phrases_checked += 1
214
  total_paths_checked += paths
215