From e850936762982b8988ce4b1a4b84cd331751b3ff Mon Sep 17 00:00:00 2001 From: Christopher Petrilli <petrilli@amber.org> Date: Tue, 16 Nov 1999 15:48:51 +0000 Subject: [PATCH] Initia lrelease. --- src/ZEO/custom_zodb.py.dist | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/ZEO/custom_zodb.py.dist diff --git a/src/ZEO/custom_zodb.py.dist b/src/ZEO/custom_zodb.py.dist new file mode 100644 index 00000000..0e044f30 --- /dev/null +++ b/src/ZEO/custom_zodb.py.dist @@ -0,0 +1,22 @@ +# ZEO Client Storage interface -*- python -*- +# +# This file tells Zope to look to a ZEO Storage Server for all of its +# database objects. + + +__version__ = "$Id: custom_zodb.py.dist,v 1.1 1999/11/16 15:48:51 petrilli Exp $"[11:-2] + +# First we have to get the right ZEO components +import ZEO.ClientStorage + +# Lets set this in variables + +ZSS_HOST = '' # Host name where ZSS is running +ZSS_PORT = 8800 # Port that the ZSS is running on +ZSS_ASYNC = 1 # Set to 1 for async calls +ZSS_NAME = 'MyStorage' # + +# Now we tell Zope where its storage is: +Storage=ZEO.ClientStorage.ClientStorage((ZSS_HOST, ZSS_PORT), + async=ZSS_ASYNC, name=ZSS_NAME) + -- 2.30.9