perf: parallelize user progress checking using asyncio.gather#129
perf: parallelize user progress checking using asyncio.gather#129vipu2404-cyber wants to merge 39 commits into
Conversation
|
"Hey @vanshaggarwal27, just checking in to see if you've had a chance to look over this concurrency update. Let me know if any changes are needed! |
|
Please resolve merge conflict and please fix Lint error and make sure it passes all test. |
|
pls see @vanshaggarwal27 i have done |
|
pls merge this also @vanshaggarwal27 |
|
dude @vipu2404-cyber these are lint log : Run cd backend invalid-syntax: Expected a statement Found 2 errors. |
|
Ok |
01c6fe9 to
5ab1a4a
Compare
5ab1a4a to
57ae0c9
Compare
0bd28e5 to
7fdb92d
Compare
|
@vipu2404-cyber Please fix lint error and resolve merge conflict |
7c012b5 to
30cadc9
Compare
4ec40f1 to
9ef030e
Compare
9ef030e to
bd27990
Compare
|
Hey @vanshaggarwal27, I have successfully resolved the merge conflicts, cleaned up the unused variables, and fully fixed the formatting layout. The Ruff linter check is now completely passing and green! The |
|
Lint test are passed, but pytests are failing please fix this |
Description
This PR addresses Issue #110 by refactoring the sequential progress checking loop to run concurrently.
Changes Made
process_single_user)._check_unsolved_users_asyncto aggregate sub-tasks into an array using a list comprehension.asyncio.gather(*tasks)to run all background database verification, LeetCode GraphQL requests, and Twilio/ElevenLabs alerting workflows in parallel.Closes #110