Created
July 11, 2013 16:57
-
-
Save jd/5977213 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% git diff | |
diff --git a/ceilometer/storage/impl_mongodb.py b/ceilometer/storage/impl_mongodb.py | |
index 4580833..84bd8fc 100644 | |
--- a/ceilometer/storage/impl_mongodb.py | |
+++ b/ceilometer/storage/impl_mongodb.py | |
@@ -288,6 +288,8 @@ class Connection(base.Connection): | |
self.db.clear() | |
else: | |
self.conn.drop_database(self.db) | |
+ import time | |
+ time.sleep(5) | |
@staticmethod | |
def _parse_connection_url(url): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment