mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 14:59:02 +00:00
Decreased bulk enqueue limit
This commit is contained in:
4
app.py
4
app.py
@@ -401,9 +401,9 @@ def enqueue_bulk():
|
|||||||
if urls:
|
if urls:
|
||||||
urls = urls.split()
|
urls = urls.split()
|
||||||
|
|
||||||
if 0 < len(urls) <= 1000000000000:
|
if 0 < len(urls) <= 1000:
|
||||||
|
|
||||||
pool = Pool(processes=4)
|
pool = Pool(processes=6)
|
||||||
pool.map(func=check_url, iterable=urls)
|
pool.map(func=check_url, iterable=urls)
|
||||||
pool.close()
|
pool.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user