On Aug 8, 12:31 pm, "rupert.thurner" <[email protected]> wrote:
> On Aug 7, 6:39 pm, Christian Boos <[email protected]> wrote:
>
> > [email protected] wrote:
> > > i am not enough python developer to judge this, but it looks so much
> > > overload that on every click we have 160 lines caused by plugins in
> > > our log file. is this really necessary?
>
> > Well, assuming you're using latest Trac 0.11, I'd say one of these
> > plugins is doing a "config.touch()" at every request, which triggers the
> > reload of the whole environment at the next request.
> > Either grep the plugins sources for the above pattern, or identify the
> > faulty plugin by re-enabling them one by one, starting with an
> > environment with no plugins enabled. I'm pretty sure that you won't get
> > this problematic behavior at first, unless you're using an old version
> > of Trac which had such an issue (pre-0.11, see r6893).
>
> many thanks for the hint! the agilo plugin contained such touch, but i
> am not sure if it was the cause as every process started by mod_wsgi
> also causes a load as pointed out by tim before.
Hi Rupert,
I had a chat with Christian today about the touch thing, and pointed
me here to have a look at this thread :-) You are right Agilo uses the
touch() in two specific situations, when the types definition changes
(because you add your own new type for example, or changed and
alias... or add some additional properties). We are very sensible to
performance issues, and we will investigate more on the flow
generating the reload of the plugins, that may be dependent on many
others connections/references with other modules.
I had a look today again, while fixing another bug, and I have noted
down a couple of FIXME... so there is for sure space for improvement,
we need to research through it and improve the config wrapping. So
apologies if Agilo caused too many reload, I anyway would exclude
completely the fact that it does this at every page call :-)
Best
ANdreaT
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---