mirror: Turn off the 'begin' timer before continuing
This commit is contained in:
@@ -706,6 +706,7 @@ void mirror_begin_cb( struct ev_loop *loop, ev_timer *w, int revents )
|
||||
|
||||
if ( ctrl->serve->allocation_map_built || ctrl->serve->allocation_map_not_built ) {
|
||||
info( "allocation map builder is finished, beginning migration" );
|
||||
ev_timer_stop( loop, w );
|
||||
/* Start by writing xfer 0 to the listener */
|
||||
ev_io_start( loop, &ctrl->write_watcher );
|
||||
/* We want to timeout during the first write as well as subsequent ones */
|
||||
|
Reference in New Issue
Block a user