Closed sebbegg closed 2 years ago
Thanks for the report and example @sebbegg. We'll get this fixed before long_callback is integrated into Dash for Dash 2.
@jonmmease - was this fixed?
@T4rk1n would you please test this and verify whether it's still an issue?
I confirm this is fixed.
Hi there,
we're testing the long_callback to issue somewhat long (several seconds) running SQL queries. When running with gunicorn with multiple workers I noticed that the queries are started/sent multiple times, from different workers when the polling-requests are routed to a worker which hasn't started the callback in the first place.
A tiny sample that reproduces the issue:
Running that with
produces something like this:
I that a known issue/limitation with the diskcache or am I doing something wrong here? Would using the celery backend solve this?