common/io: For scheduling immediate events use tevent_schedule_immediate
authorAmitay Isaacs <amitay@gmail.com>
Fri, 22 Feb 2013 01:59:39 +0000 (12:59 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 6 Mar 2013 06:43:12 +0000 (17:43 +1100)
commit8909931f7dd067e5319a0db15fcb6cb0c335f903
tree0f848c4d0b263a44a09f59a5a2cb537c193403aa
parent865fec8f04a6b8f7416903c4d02c188bd39b9683
common/io: For scheduling immediate events use tevent_schedule_immediate

tevent_schedule_immediate() is much more efficient at handling events that need
to be processed immediately rather than creating timed events with
timeval_zero().

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Cherry-pick-from: 11734be353a1e246163eda631d35dfe55d1d6fb1
common/ctdb_io.c