My app is working correctly locally but when I deploy it I am getting stuck and never leaving my pool.apply_async call. Here is the code:
result = pool.apply_async(func=runHumanFOPModel, args=(__config, __date_to_predict_for, float(__hmn_fire_confidence_interval), __display_historical_fires_on_maps, st.session_state.raw_weather, st.session_state.history))
But the function runHumanFOPModel is never actually getting called it just runs this pool forever. I know it is not getting called by putting a print statement in the beginning of the function runHumanFOPModel that never gets printed. Any ideas? Thank you so much!