Open aledejesus opened 6 years ago
A way to solve this would be solve puzzles in celery workers. As a provisional solution, tasks would be created and we would poll for the answer before the view returns the response. After #116 is solved, this approach would be removed and view would return as soon as celery tasks were created.
Reminder: enqueue tasks and continue doing what can be done before polling for the answer.
TODO:
TODO:
TODO:
This view calls SudokuPuzzle.solve multiple times, as more tests are added the response time will increase significantly. Use concurrency to solve all tests at the same time