Romain Slootmaekers wrote at 2003-7-12 15:00 +0200:
Somewhere in our deployment we have a SimpleItem.SimpleItem object with
a random number generator in it.
The code to get a new random number is:
random=self.__random.random()
#
self._p_changed = 1 # make sure to store the changed generator
We use that generator A LOT,
but today, after some months of working correctly, it just stopped
returning different random numbers. I have no other clue than to guess
there is a maxinum number of different versions any object can have in
the ZODB.
Is my hunch correct ?
No, there is no such limit. You can have as many version as you
have disk space...
Dieter
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )