Re: SQLobject doesn't work in multiprocessing
Oleg Broytman <[email protected]> Tue, 9 Apr 2024 21:06:36 +0300
| Newsgroups | gmane.comp.python.sqlobject |
|---|---|
| Message-ID | <[email protected]> |
Hi! On Tue, Apr 09, 2024 at 10:09:44AM -0700, Nitin Chauhan <[email protected]> wrote: > Can you please let me know how I can make multiple separate MySQL sqlobject > connections work with each process in a multiprocessing pool? I do not understand the question. Every process just opens a new connection. Starts a transaction, performs operation(s), commits, closes the transaction. Before exit closes the connection. Oleg. -- Oleg Broytman https://phdru.name/ [email protected] Programmers don't die, they just GOSUB without RETURN.