diff options
author | martinko | 2012-11-28 16:25:57 +0000 |
---|---|---|
committer | martinko | 2012-11-28 16:25:57 +0000 |
commit | 9fa1e110a1212815a8f5b218f13afc8f857b12fa (patch) | |
tree | 4ab6c3ebaae27a9fc2c0cd02bb1179222e2db0c4 | |
parent | f89ed5f0afc84f5bfdd6111ee02b0b9343f8d47e (diff) |
londiste/syncer: throttle queries when waiting
-rw-r--r-- | python/londiste/syncer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/londiste/syncer.py b/python/londiste/syncer.py index bef95337..eb26a207 100644 --- a/python/londiste/syncer.py +++ b/python/londiste/syncer.py @@ -356,4 +356,4 @@ class Syncer(skytools.DBScript): res = self.exec_cmd(curs, q, [self.queue_name, cons_name]) if res[0]['uptodate']: break - + time.sleep(0.5) |