ethers hook: reduce the probability of data loss
authorLuca Bigliardi <shammash@google.com>
Wed, 5 Aug 2009 17:48:20 +0000 (18:48 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 5 Aug 2009 17:52:58 +0000 (18:52 +0100)
commit1db0b7cf51b9613a4253cd10927ce11dc391c805
treeb59ee5f3037a5d1ace87a34a8f1f0a2e384abf58
parente7d6946c95b9a67c8f11f1e309f012cc888831dd
ethers hook: reduce the probability of data loss

The hook was exiting immediately if lock was not acquired, entering a timed
loop to have more chances when acquiring the lock.

Signed-off-by: Luca Bigliardi <shammash@google.com>
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
doc/examples/hooks/ethers