Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I've made a plugin that contains a dash webapp configured as a Model view.
The Model view works as an extension to Model reports in VisualML to perform permutation importance calculations.
However, with large models with many features the required calculations take a while to complete. After exactly a minute of running, the Model view/webapp crashes with a timeout error.
The plugin does work correctly, as everything is fine with a small model where the calculations can be completed within a minute.
Is there a way to extend this timeout? Or is there another way to implement this to avoid this timeout problem?
Operating system used: Windows
Hi,
this is not related to Dataiku, but more globally to web servers
There are many ways to overcome the timeout problem, but as you are referring to Dash webapps, I would suggest to look at https://dash.plotly.com/long-callbacks
This is the method they recommend for solving the timeout problem.
I hope it helps
Best
Hi,
this is not related to Dataiku, but more globally to web servers
There are many ways to overcome the timeout problem, but as you are referring to Dash webapps, I would suggest to look at https://dash.plotly.com/long-callbacks
This is the method they recommend for solving the timeout problem.
I hope it helps
Best
Thanks for the tip!
I managed to get this working by using DiskcacheLongCallbackManager and putting the callback function in it's own script in the python-lib