This commit is contained in:
Jascha 2026-10-11 20:10:25 -07:00 • committed by GitHub
commit b47b19fb24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,12 @@
#!/usr/bin/env python
import multiprocessing
# required for multiprocessing to work in frozen builds (e.g. lxmf stamp validation worker pools)
# without it, worker processes re-run the app instead of bootstrapping, which hangs the pool
# must run before other imports so worker processes exit into their bootstrap immediately
multiprocessing.freeze_support()
import argparse
import io
import json