Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Chris McDonough
On Fri, 2010-06-25 at 15:58 -0400, Tres Seaver wrote: > > Then we could make PersistentApplicationFinder use > > 'repoze.zodbconn.connection_factory' from the environment. > > That looks lazy enough for my taste. ;) +1 - C ___ Repoze-dev mailing lis

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shane Hathaway wrote: > On 06/25/2010 01:16 PM, Chris McDonough wrote: >> We've addressed this in repoze.who by giving r.who's middleware a mode >> which injects only a factory into the environ instead of more eagerly >> constructing identity informati

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Shane Hathaway
On 06/25/2010 01:16 PM, Chris McDonough wrote: > We've addressed this in repoze.who by giving r.who's middleware a mode > which injects only a factory into the environ instead of more eagerly > constructing identity information. We can't really do that for > repoze.zodbconn#connector, or at least

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shane Hathaway wrote: > On 06/25/2010 12:03 PM, Wichert Akkerman wrote: >> I am using repoze.zodbconn in a BFG application but I suspect it is not >> working as it should be: as soon as multiple requests come in at the >> same time I get a lot of locki

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Chris McDonough
On Fri, 2010-06-25 at 12:55 -0600, Shane Hathaway wrote: > On 06/25/2010 12:03 PM, Wichert Akkerman wrote: > > I am using repoze.zodbconn in a BFG application but I suspect it is not > > working as it should be: as soon as multiple requests come in at the > > same time I get a lot of locking errors

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Shane Hathaway
On 06/25/2010 12:03 PM, Wichert Akkerman wrote: > I am using repoze.zodbconn in a BFG application but I suspect it is not > working as it should be: as soon as multiple requests come in at the > same time I get a lot of locking errors and broken results: > > LockError: Couldn't lock > '/Users/wiche

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Wichert Akkerman
On 6/25/10 20:18 , Charlie Clark wrote: > Am 25.06.2010, 20:03 Uhr, schrieb Wichert Akkerman: > >> I am using repoze.zodbconn in a BFG application but I suspect it is not >> working as it should be: as soon as multiple requests come in at the >> same time I get a lot of locking errors and broken re

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Charlie Clark
Am 25.06.2010, 20:03 Uhr, schrieb Wichert Akkerman : > I am using repoze.zodbconn in a BFG application but I suspect it is not > working as it should be: as soon as multiple requests come in at the > same time I get a lot of locking errors and broken results: > LockError: Couldn't lock > '/Users/w

Re: [Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Wichert Akkerman
On 6/25/10 20:03 , Wichert Akkerman wrote: > The way I've setup repoze.zodbconn is > > from repoze.zodbconn.finder import PersistentApplicationFinder > from myproject import appmaker > finder = PersistentApplicationFinder(settings["zodb.url"], appmaker) > def get_root(reques

[Repoze-dev] repoze.zodbconn connection handling

2010-06-25 Thread Wichert Akkerman
I am using repoze.zodbconn in a BFG application but I suspect it is not working as it should be: as soon as multiple requests come in at the same time I get a lot of locking errors and broken results: LockError: Couldn't lock '/Users/wichert/Work/code/buildout/blackbox/var/Data.fs.lock' The wa