On Thu, 20 May 2010 18:00:43 -0600, Shane Hathaway
wrote:
> On 05/20/2010 06:18 AM, Jürgen Herrmann wrote:
>> def myLongRunningMethod(self):
>>
>>BATCH_SIZE = 10
>>MAX_CONFLICTS = 3
>>
>>work_items = [some, work, to , do, ...]
>># list of persistent objects to be modified in this
On 05/20/2010 06:18 AM, Jürgen Herrmann wrote:
> def myLongRunningMethod(self):
>
>BATCH_SIZE = 10
>MAX_CONFLICTS = 3
>
>work_items = [some, work, to , do, ...]
># list of persistent objects to be modified in this method
>
>idx = 0
>while idx< len(work_items):
> confli
Am 20.05.2010 21:01, schrieb Maik Derstappen, Derstappen IT:
> Am 20.05.2010 20:04, schrieb robert rottermann:
>> Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT:
>>
>>> Am 20.05.2010 16:05, schrieb Jürgen Herrmann:
>>>
On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken
>
Am 20.05.2010 20:04, schrieb robert rottermann:
> Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT:
>
>> Am 20.05.2010 16:05, schrieb Jürgen Herrmann:
>>
>>> On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken
>>>wrote:
>>>
>>>
On Thu, May 20, 2010 at 14:18, Jür
Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT:
> Am 20.05.2010 16:05, schrieb Jürgen Herrmann:
>> On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken
>> wrote:
>>
>>> On Thu, May 20, 2010 at 14:18, Jürgen Herrmann
>>> wrote:
>>>
>>>
hi there!
as our zope2 zodb grows we
Am 20.05.2010 16:05, schrieb Jürgen Herrmann:
> On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken
> wrote:
>
>> On Thu, May 20, 2010 at 14:18, Jürgen Herrmann
>> wrote:
>>
>>
>>> hi there!
>>>
>>> as our zope2 zodb grows we experience more and more conflicts
>>> with long running transactions. s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Patrick Gerken wrote:
> On Thu, May 20, 2010 at 14:18, Jürgen Herrmann
> mailto:juergen.herrm...@xlhost.de>> wrote:
>
>
> hi there!
>
> as our zope2 zodb grows we experience more and more conflicts
> with long running transactions. so i'
On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken
wrote:
> On Thu, May 20, 2010 at 14:18, Jürgen Herrmann
> wrote:
>
>>
>> hi there!
>>
>> as our zope2 zodb grows we experience more and more conflicts
>> with long running transactions. so i'm going to rewrite these
>> methods to commit transact
On Thu, May 20, 2010 at 14:18, Jürgen Herrmann
wrote:
>
> hi there!
>
> as our zope2 zodb grows we experience more and more conflicts
> with long running transactions. so i'm going to rewrite these
> methods to commit transactions in batches - here my attempt
> to tackle this problem. the idea is
hi there!
as our zope2 zodb grows we experience more and more conflicts
with long running transactions. so i'm going to rewrite these
methods to commit transactions in batches - here my attempt
to tackle this problem. the idea is to get a list of objects
to be modified in this transaction, break
10 matches
Mail list logo