Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / Jobs.hs @ 966e1580

History | View | Annotate | Download (3.3 kB)

# Date Author Comment
3f68544e 01/30/2013 07:37 pm Dato Simó

Jobs.hs: add a submitJobs function

This new 'submitJobs' function doesn't wait for job completion, it just
returns the job IDs immediately.

Signed-off-by: Dato Simó <>
Reviewed-by: Iustin Pop <>

7d8b651e 01/30/2013 07:37 pm Dato Simó

Jobs.hs: add an execJobsWaitOk function

This new 'execJobsWaitOk' returns "Bad" not only if an error occurs, but if
any of the submitted jobs doesn't succeed.

Signed-off-by: Dato Simó <>
Reviewed-by: Iustin Pop <>

b8e76da8 01/30/2013 07:37 pm Dato Simó

Jobs.hs: start with a shorter delay in waitForJobs

Instead of waiting 15 seconds every iteration of the waiting loop, start
with 0.5 seconds and increment exponentially until a certain maximum is
reached. Keep the maximum at 15 seconds.

Signed-off-by: Dato Simó <>...

3add7574 12/24/2012 11:38 pm Iustin Pop

Rename htools/ to src/

Per offline discussions, this is the first patch of the
renames. Tested with "make distcheck", seems to work fine.

The only change outside of the renaming is a bit of simplification in
the .gitignore rules; otherwise, simply s/htools/src/....