[CalendarServer-changes] [8129] CalendarServer/trunk/calendarserver/tools/notifications.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 28 10:12:39 PDT 2011
Revision: 8129
http://trac.macosforge.org/projects/calendarserver/changeset/8129
Author: sagen at apple.com
Date: 2011-09-28 10:12:39 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
Skip the monitoring of notifications of delegates on servers other than your own since that needs work to support.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/notifications.py
Modified: CalendarServer/trunk/calendarserver/tools/notifications.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/notifications.py 2011-09-28 14:53:17 UTC (rev 8128)
+++ CalendarServer/trunk/calendarserver/tools/notifications.py 2011-09-28 17:12:39 UTC (rev 8129)
@@ -345,7 +345,9 @@
if self.verbose:
print name, homes
for home in homes:
- paths.add(home)
+ if home.startswith("/"):
+ # Only support homes on the same server for now.
+ paths.add(home)
for path in paths:
host, port, nodes = (yield self.getPushInfo(path))
subscribeNodes.update(nodes)
@@ -355,6 +357,8 @@
host = self.host
port = self.port
+ # TODO: support talking to multiple hosts (to support delegates
+ # from other calendar servers)
if subscribeNodes:
self.startMonitoring(host, port, subscribeNodes)
else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110928/e82ffc44/attachment.html>
More information about the calendarserver-changes
mailing list