Hi,
How can I limit the number of connections?
On mar, 2008-07-22 at 08:17 +0200, =?ISO-8859-1?Q? J=FCrgen_Kartnaller _
wrote:
On Mon, Jul 21, 2008 at 7:50 AM, James Henstridge [EMAIL PROTECTED]
wrote:
On Mon, Jul 7, 2008 at 3:47 PM, Jürgen Kartnaller
[EMAIL PROTECTED] wrote:
Using Storm with Zope 3 is absolutely easy :
Include this in your zcml configuration :
include package=storm.zope file=meta.zcml/
include package=storm.zope/
store name= uri=postgres://localhost:14339/az/
In your code :
store = component.getUtility(IZStorm).get('')
Note that it is probably better to give a real name to your
store(s),
since it will make it easier to extend your application if you
end up
needing multiple stores. Using an empty store name makes it
look like
you're doing something special.
The reason for the unnamed store is simple :
All packages assume a default store for the application, this store is
always the unnamed store. This way there is no need to define special
application store names.
If a package needs additional databases we can add named stores at any
time.
Jürgen
--
Lovely Systems, senior developer
phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
_\|/_
(O-O)
--oOO-(_)-OOo---
Hector Miuler Malpica Gallegos
Universidad Nacional del Callao - Peru
Escuela de Ingenieria Electronica
usuario registrado #308608
signature.asc
Description: This is a digitally signed message part
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users