turning up the threads and limit
parent
ea2c59d810
commit
fdd0b2575c
|
@ -56,7 +56,7 @@ def download(args):
|
|||
|
||||
if __name__ == '__main__':
|
||||
|
||||
pool = Pool(4)
|
||||
pool = Pool(16)
|
||||
print("starting up...")
|
||||
|
||||
|
||||
|
@ -114,7 +114,7 @@ if __name__ == '__main__':
|
|||
WHERE
|
||||
download.status == ?
|
||||
AND camera.id == ?
|
||||
LIMIT 500;'''
|
||||
LIMIT 2000;'''
|
||||
|
||||
|
||||
results = cur.execute(sql, ('new', 4))
|
||||
|
|
Loading…
Reference in New Issue