Skip to content
Snippets Groups Projects
Commit bd44ab51 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

raft: fix ev_timer.at incorrect usage

ev_timer.at was used as timeout. But after ev_timer_start() it
turns into the deadline - totally different value.

The patch makes sure ev_timer.at is not used in raft at all.

To test that the fakeev subsystem is patched to start its time not
from 0. Otherwise ev_timer.at often really matched the timeout
even for an active timer.

(cherry picked from commit e51c61ae)
parent b428b2de
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment