highlyprofitable108 / top-secret-modeling

full-monte-football-sim
0 stars 0 forks source link

Implement Asynchronous Execution for Long-running Python Scripts #83

Closed highlyprofitable108 closed 1 year ago

highlyprofitable108 commented 1 year ago

Modify the /generate_model and /sim_runner endpoints to initiate long-running tasks asynchronously. This change will prevent web requests from timing out and allow users to navigate away from the page without interrupting the process. Consider using a task queue like Celery with Redis or RabbitMQ as the message broker.

highlyprofitable108 commented 1 year ago

Async through celery working