[CalendarServer-changes] [2553] CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.xattrprops .patch
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 6 16:10:51 PDT 2008
Revision: 2553
http://trac.macosforge.org/projects/calendarserver/changeset/2553
Author: wsanchez at apple.com
Date: 2008-06-06 16:10:51 -0700 (Fri, 06 Jun 2008)
Log Message:
-----------
EAGAIN 20 times won't raise.
Modified Paths:
--------------
CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch
Modified: CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch 2008-06-06 23:10:21 UTC (rev 2552)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch 2008-06-06 23:10:51 UTC (rev 2553)
@@ -124,7 +124,7 @@
+ try:
+ self.attrs[self._encode(property.qname())] = data
+ except Exception, e:
-+ if e.errno == EAGAIN:
++ if e.errno == EAGAIN and n < 19:
+ sleep(random() / 10) # OMG Brutal Hax
+ else:
+ log.error("Unable to write property %s: %s" % (property.sname(), e))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080606/2de38d93/attachment-0001.htm
More information about the calendarserver-changes
mailing list