4 Sep
2004
4 Sep
'04
6:58 p.m.
Dennis Allison wrote at 2004-9-3 12:07 -0700:
The size of the pool defaults to 7. Except for testing code, I do not believe that it is larger for any DB instance.
You can configure it (from Zope 2.7 on in the configuration file).
What's the relationship between this pool size and the number of Zope threadsi, if any?
When a thread wants to access the ZODB, it must open a connection (and therefore use one from the pool). Therefore, the pool size should usually be as large as the number of worker threads. -- Dieter