diff options
author | makkalot <makkalot@gmail.com> | 2008-08-01 10:08:56 +0300 |
---|---|---|
committer | makkalot <makkalot@gmail.com> | 2008-08-01 10:08:56 +0300 |
commit | 3c701978c7a4374561909fec03c924b02c55cb06 (patch) | |
tree | 72855db708b48c8b659c83c2b1d85a5f987b79a6 /func | |
parent | d95cb1171598b0450a9a3e32b83ddd057ebf832b (diff) | |
download | func-3c701978c7a4374561909fec03c924b02c55cb06.tar.gz func-3c701978c7a4374561909fec03c924b02c55cb06.tar.xz func-3c701978c7a4374561909fec03c924b02c55cb06.zip |
sleep a little bit when polling it kills the machine it is running
Diffstat (limited to 'func')
-rw-r--r-- | func/overlord/cmd_modules/call.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/func/overlord/cmd_modules/call.py b/func/overlord/cmd_modules/call.py index b58ee7c..c3c93b5 100644 --- a/func/overlord/cmd_modules/call.py +++ b/func/overlord/cmd_modules/call.py @@ -163,6 +163,7 @@ class Call(base_command.BaseCommand): else: async_done = False while not async_done: + time.sleep(3) (return_code, async_results) = self.overlord_obj.job_status(results) if return_code == jobthing.JOB_ID_RUNNING: time.sleep(0.1) |