[Seaside] immediate display alert to user while Ajax request

Ramon Leon ramon.leon at allresnet.com
Fri Jul 21 18:49:02 UTC 2017

On 07/21/2017 08:50 AM, Paul DeBruicker wrote:
> The ThreadPool, when running, does use some CPU, maybe more than it should,
> and I haven't looked into why yet.

That's the pool manager checking if it needs to scale the pool size up 
or down.  That could certainly be easily reduced by only doing this when 
the work queue has jobs, you can see that in the startUp method line...

PoolManager := [ [ self adjustPoolSize ] repeat ] newProcess.

It does this even when the queue is empty, so that's a good idea you 
have there to reduce the CPU usage.  I don't maintain the public version 
of my code there, but I'll certainly be enhancing my own to check this.

Ramon Leon

More information about the seaside mailing list