io_loop_run(current_ioloop);
timeout_remove(&to);
+ /* io_loop_run() deactivates the context - put it back */
+ mail_storage_service_io_activate_user(ctx->ctx.cur_service_user);
+
if (!ctx->exited) {
i_error("Remote command process isn't dying, killing it");
if (kill(ctx->remote_pid, SIGKILL) < 0 && errno != ESRCH) {
/* fall through */
case DSYNC_RUN_TYPE_STREAM:
cmd_dsync_run_remote(user);
+ /* io_loop_run() deactivates the context - put it back */
+ mail_storage_service_io_activate_user(ctx->ctx.cur_service_user);
break;
}
doveadm_settings->dsync_alt_char[0]);
io_loop_run(current_ioloop);
+ /* io_loop_run() deactivates the context - put it back */
+ mail_storage_service_io_activate_user(ctx->ctx.cur_service_user);
if (ctx->replicator_notify) {
state_str = t_str_new(128);