jobd: take a short break after each queue run
commit768398d585b185d1ca5fae33d11d97fffcf00c87
authorJan Krüger <jk@jk.gs>
Sun, 21 Nov 2010 14:08:05 +0000 (21 15:08 +0100)
committerJan Krüger <jk@jk.gs>
Sun, 21 Nov 2010 14:08:05 +0000 (21 15:08 +0100)
tree287f1e9e8b9b9a53ba3af8ce2dc67cffaa6f903a
parentbeb0fc2f484a1bf3c5cdadb435bd951a74d65429
jobd: take a short break after each queue run

If all repositories are free of errors, jobd will finish each run of the
queue extremely quickly. In anticipation of this (admittedly quite
unlikely) event, make it rest a bit every time it completes all jobs.

Signed-off-by: Jan Krüger <jk@jk.gs>
jobd/jobd.pl