[Zope-dev] Re: ComputedAttribute
Chris Withers
chrisw@nipltd.com
Wed, 10 Jan 2001 23:37:55 -0000
> Chris Withers writes:
> > ....with this class, your_attribute isn't going to play in Persistence,
> > is it? (so I can update it lots without worrying about ZODB size
> > growing... :-)
> But, as I understand it, it is only updated in the thread
> that did the update. Your next request may get a different
> thread and see a different value.
Huh?
If I change self._v_your_attribute it's only going to get updated in one
thread?
That's a bit sucky :-S
Doesn't matter in this _particular_ case 'cos this var gets set at the start
of every request, but I'm a bit concerned about its general use...
any help is good help :-)
Chris