Replies: 1 comment
-
Thank you for your information ! I myself don't see the problem on the latest Redash / Docker Desktop with Apple Virtualization on M4 MacBook Pro... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had a quirky thing today where Flask would take roughly 11-13 minutes to boot - extremely slow and annoying! Basically I couldn't get anything done.
Turns out it was
inotify
issues where it Flask would deadlock on a particular folder in the container such as/app
. This only seemed to affect an M1 MacBook, not a traditional Intel MacBook from a few years ago.I switched to the
Docker VMM
virtualisation (away fromApple Virtualization
) in Docker and this seemed to do the trick - for now! The other option was to removewatchdog
frompyproject.toml
or use a proper production server (such asgunicorn
) that doesn't use the file monitoring / watching.Hope this helps someone else one day!
Beta Was this translation helpful? Give feedback.
All reactions