Browse Source
Exit immediately and omit locking itself, when the jobs file is empty or missing. Additionally, limit the time given for the sync trigger and the service wrapper scripts, when acquiring a lock. Then fail it, if the lock cannot be acquired after a 10 seconds. This prevents other possible racy scenarios, like dealocks. Change-Id: I19ac0c3b43c50be00350fa500ccc2a5fb1ab545c Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>changes/88/714888/3
2 changed files with 10 additions and 8 deletions
Loading…
Reference in new issue