[CalendarServer-changes] [4737] CalendarServer/branches/users/cdaboo/deployment-partition-4722/ calendarserver/tools/managepostgres.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 11 08:03:18 PST 2009
Revision: 4737
http://trac.macosforge.org/projects/calendarserver/changeset/4737
Author: cdaboo at apple.com
Date: 2009-11-11 08:03:18 -0800 (Wed, 11 Nov 2009)
Log Message:
-----------
Need more connections for single acceptor.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/deployment-partition-4722/calendarserver/tools/managepostgres.py
Modified: CalendarServer/branches/users/cdaboo/deployment-partition-4722/calendarserver/tools/managepostgres.py
===================================================================
--- CalendarServer/branches/users/cdaboo/deployment-partition-4722/calendarserver/tools/managepostgres.py 2009-11-10 22:36:26 UTC (rev 4736)
+++ CalendarServer/branches/users/cdaboo/deployment-partition-4722/calendarserver/tools/managepostgres.py 2009-11-11 16:03:18 UTC (rev 4737)
@@ -38,6 +38,7 @@
with open("%s/data/postgresql.conf" % (basedir,)) as f:
conf = f.read()
conf = conf.replace("#listen_addresses = 'localhost'", "listen_addresses = '*'\t")
+ conf = conf.replace("max_connections = 20 ", "max_connections = 500")
with open("%s/data/postgresql.conf" % (basedir,), "w") as f:
f.write(conf)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091111/dda97001/attachment.html>
More information about the calendarserver-changes
mailing list