Re: SQLobject doesn't work in multiprocessing
Nitin Chauhan <[email protected]> Tue, 9 Apr 2024 10:09:44 -0700
| Newsgroups | gmane.comp.python.sqlobject |
|---|---|
| Message-ID | <CAE-itpZNqV=aVAzhrgOnVBQ_=Cd0cUwdB16Nsnyc40sZ0ZBvRA@mail.gmail.com> |
--===============3208882117759729214== Content-Type: multipart/alternative; boundary="000000000000c1f4e00615acfd10" --000000000000c1f4e00615acfd10 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the reply Oleg, Can you please let me know how I can make multiple separate MySQL sqlobject connections work with each process in a multiprocessing pool? On Tue, Apr 2, 2024 at 10:10=E2=80=AFAM Oleg Broytman <[email protected]> wrot= e: > Hello! > > On Tue, Apr 02, 2024 at 09:37:51AM -0700, Nitin Chauhan < > [email protected]> wrote: > > Can anyone please share if SQLObject even supports multiprocessing pool= s? > > I'm sure it doesn't. Every process must open its own connection(s). > For many backends even every thread must open per-thread connection. > > > Best Regards, > > Nitin Chauhan > > Oleg. > -- > Oleg Broytman https://phdru.name/ [email protected]= e > Programmers don't die, they just GOSUB without RETURN. > > > _______________________________________________ > sqlobject-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > --000000000000c1f4e00615acfd10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks for the reply Oleg,<div><br></div><div>Can you plea= se let me know how I can make multiple separate MySQL sqlobject connections= work with each process in a multiprocessing pool?=C2=A0</div></div><br><di= v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Apr 2= , 2024 at 10:10=E2=80=AFAM Oleg Broytman <<a href=3D"mailto:[email protected]= me">[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote= " style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);= padding-left:1ex">Hello!<br> <br> On Tue, Apr 02, 2024 at 09:37:51AM -0700, Nitin Chauhan <<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]= om</a>> wrote:<br> > Can anyone please share if SQLObject even supports multiprocessing poo= ls?<br> <br> =C2=A0 =C2=A0I'm sure it doesn't. Every process must open its own c= onnection(s).<br> For many backends even every thread must open per-thread connection.<br> <br> > Best Regards,<br> > Nitin Chauhan<br> <br> Oleg.<br> -- <br> =C2=A0 =C2=A0 Oleg Broytman=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a hre= f=3D"https://phdru.name/" rel=3D"noreferrer" target=3D"_blank">https://phdr= u.name/</a>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:phd@= phdru.name" target=3D"_blank">[email protected]</a><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Programmers don't die, they ju= st GOSUB without RETURN.<br> <br> <br> _______________________________________________<br> sqlobject-discuss mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss" = rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/li= stinfo/sqlobject-discuss</a><br> </blockquote></div> --000000000000c1f4e00615acfd10-- --===============3208882117759729214== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3208882117759729214== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss --===============3208882117759729214==--