On Mon, Jan 17, 2011 at 11:33:53AM +0100, Gonzalo Suárez wrote:
> 
> I found a curious thing. When running ruote-kit with ruby 1.8.7
> (2009-06-12 patchlevel 174) [universal-darwin10.0], the initialize
> method for storage_participant is called once every time the engine
> gives a workitem (apply) to a participant of such kind. Reasonable.
> 
> But when I do the same thing with jruby 1.5.3 (ruby 1.8.7 patchlevel
> 249) (2010-09-28 7ca06d7) (Java HotSpot(TM) Client VM 1.6.0_21)
> [i386-java], the method is called twice.
> 
> The settings I used for ruote are the ones in default Ruote-Kit's
> config.ru, 1 engine, 1 worker. I guess this issue has only impact on
> the performance when running within jruby.

Hello Gonzalo,

I'd be very interested to know why it's triggered twice.

Maybe you could place a "puts caller" in your initializer (or in the storage 
participant initializer) so that we know when it gets called.

What do you think ?

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to