Lines Matching refs:failover_timeout
216 mstime_t failover_timeout; /* Max time to refresh failover state. */ member
1218 ri->failover_timeout = SENTINEL_DEFAULT_FAILOVER_TIMEOUT; in createSentinelRedisInstance()
1601 ri->failover_timeout = atoi(argv[2]); in sentinelHandleConfiguration()
1602 if (ri->failover_timeout <= 0) in sentinelHandleConfiguration()
1730 if (master->failover_timeout != SENTINEL_DEFAULT_FAILOVER_TIMEOUT) { in rewriteConfigSentinelOption()
1733 master->name, (long) master->failover_timeout); in rewriteConfigSentinelOption()
2196 mstime_t wait_time = ri->master->failover_timeout; in sentinelRefreshInstanceInfo()
2757 addReplyBulkLongLong(c,ri->failover_timeout); in addReplySentinelRedisInstance()
3320 ri->failover_timeout = ll; in sentinelSetCommand()
3829 master->failover_timeout*2) in sentinelStartFailoverIfNeeded()
3833 master->failover_timeout*2) / 1000; in sentinelStartFailoverIfNeeded()
3971 if (election_timeout > ri->failover_timeout) in sentinelFailoverWaitStart()
3972 election_timeout = ri->failover_timeout; in sentinelFailoverWaitStart()
4014 if (mstime() - ri->failover_state_change_time > ri->failover_timeout) { in sentinelFailoverSendSlaveOfNoOne()
4038 if (mstime() - ri->failover_state_change_time > ri->failover_timeout) { in sentinelFailoverWaitPromotion()
4068 if (elapsed > master->failover_timeout) { in sentinelFailoverDetectEnd()