-
Notifications
You must be signed in to change notification settings - Fork 61
Make receipts command faster #77
Comments
@cuducos sorry, I am don't know much about this area, but searching by this subject I found this package: multiprocessing - https://docs.python.org/3/library/multiprocessing.html
Probabilly you know about this... I found too this tutorial and I think he can help us - https://www.toptal.com/python/beginners-guide-to-concurrency-and-parallelism-in-python |
Yep, I used this on #66 — it works fine but I couldn't write tests for it (I mean, the tests I wrote were not working), so still on hold… |
Anyway… further thoughts: in the case of receipts, |
So, we can start multiple HTTP requests using |
Actually I think that |
Multithreading and handling multiple requests in parallel are the key (it's the
Reimbursement.get_receipt_url()
from #76 that handles the HTTP requests)The text was updated successfully, but these errors were encountered: