projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to avoid accessing profiling objects after they are freed.
[bluesky.git]
/
cleaner
/
cleaner
diff --git
a/cleaner/cleaner
b/cleaner/cleaner
index
9103769
..
c4b1222
100755
(executable)
--- a/
cleaner/cleaner
+++ b/
cleaner/cleaner
@@
-8,7
+8,7
@@
# Copyright (C) 2010 The Regents of the University of California
# Written by Michael Vrable <mvrable@cs.ucsd.edu>
# Copyright (C) 2010 The Regents of the University of California
# Written by Michael Vrable <mvrable@cs.ucsd.edu>
-import base64, os, re, struct, sys
+import base64, os, re, struct, sys
, time
import boto
from boto.s3.key import Key
import boto
from boto.s3.key import Key
@@
-75,6
+75,7
@@
def retry_wrap(method):
except:
print >>sys.stderr, "S3 operation failed, retrying..."
self.connect()
except:
print >>sys.stderr, "S3 operation failed, retrying..."
self.connect()
+ time.sleep(1.0)
return method(self, *args, **kwargs)
return wrapped
return method(self, *args, **kwargs)
return wrapped