We do not want to have the file descriptor for the database connection
in the worker processes.
usage()
Logger = daklog.Logger('generate-releases')
usage()
Logger = daklog.Logger('generate-releases')
+ pool = DakProcessPool()
session = DBConn().session()
session = DBConn().session()
- pool = DakProcessPool()
-
for s in suites:
# Setup a multiprocessing Pool. As many workers as we have CPU cores.
if s.untouchable and not Options["Force"]:
for s in suites:
# Setup a multiprocessing Pool. As many workers as we have CPU cores.
if s.untouchable and not Options["Force"]: