You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you quit the EasyOCR example Docker compose container with Ctrl-C, you have to wait 10 seconds for the process to gracefully quit. This is because the container lacks an init process, so the EasyOCR process is itself running as PID 1.
Fortunately, it's very easy to fix with Docker compose's init setting. With that added, the process quits in 0.1s. 100x faster!
I will submit a PR for the easyocr example, since that's the one I've tested. But this is probably an issue in all the other containers as well. I'd be happy to submit a PR making the change for all of them.
The text was updated successfully, but these errors were encountered:
nk9
added a commit
to nk9/label-studio-ml-backend
that referenced
this issue
Dec 25, 2024
When you quit the EasyOCR example Docker compose container with Ctrl-C, you have to wait 10 seconds for the process to gracefully quit. This is because the container lacks an init process, so the EasyOCR process is itself running as PID 1.
Fortunately, it's very easy to fix with Docker compose's
init
setting. With that added, the process quits in 0.1s. 100x faster!I will submit a PR for the easyocr example, since that's the one I've tested. But this is probably an issue in all the other containers as well. I'd be happy to submit a PR making the change for all of them.
The text was updated successfully, but these errors were encountered: