Home
last modified time | relevance | path

Searched refs:unixtime (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/src/
H A Dreplication.c460 c->repl_ack_time = server.unixtime; in masterTryPartialResynchronization()
749 c->repl_ack_time = server.unixtime; in replconfCommand()
1017 server.repl_transfer_lastio = server.unixtime; in readSyncBulkPayload()
1086 server.repl_transfer_lastio = server.unixtime; in readSyncBulkPayload()
1222 server.repl_transfer_lastio = server.unixtime; in sendSynchronousCommand()
1637 server.repl_transfer_lastio = server.unixtime; in syncWithMaster()
1673 server.repl_transfer_lastio = server.unixtime; in connectWithMaster()
1767 server.repl_down_since = server.unixtime; in replicationHandleMasterDisconnection()
1954 server.master->lastinteraction = server.unixtime; in replicationResurrectCachedMaster()
1992 time_t lag = server.unixtime - slave->repl_ack_time; in refreshGoodSlavesCount()
[all …]
H A Daof.c240 server.aof_last_fsync = server.unixtime; in startAppendOnly()
305 server.aof_flush_postponed_start = server.unixtime; in flushAppendOnlyFile()
307 } else if (server.unixtime - server.aof_flush_postponed_start < 2) { in flushAppendOnlyFile()
349 if ((server.unixtime - last_write_error_log) > AOF_WRITE_LOG_ERROR_RATE) { in flushAppendOnlyFile()
351 last_write_error_log = server.unixtime; in flushAppendOnlyFile()
441 server.aof_last_fsync = server.unixtime; in flushAppendOnlyFile()
443 server.unixtime > server.aof_last_fsync)) { in flushAppendOnlyFile()
445 server.aof_last_fsync = server.unixtime; in flushAppendOnlyFile()
H A Dnetworking.c100 c->ctime = c->lastinteraction = server.unixtime; in createClient()
854 server.repl_no_slaves_since = server.unixtime; in freeClient()
972 if (!(c->flags & CLIENT_MASTER)) c->lastinteraction = server.unixtime; in writeToClient()
1085 c->repl_ack_time = server.unixtime; in processInlineBuffer()
1348 c->lastinteraction = server.unixtime; in readQueryFromClient()
1454 (long long)(server.unixtime - client->ctime), in catClientInfoString()
1455 (long long)(server.unixtime - client->lastinteraction), in catClientInfoString()
1791 c->obuf_soft_limit_reached_time = server.unixtime; in checkClientOutputBufferLimits()
1794 time_t elapsed = server.unixtime - c->obuf_soft_limit_reached_time; in checkClientOutputBufferLimits()
H A Dserver.c962 time_t idletime = server.unixtime - c->lastinteraction; in clientsCronResizeQueryBuffer()
1067 server.unixtime = time(NULL); in updateCachedTime()
1222 server.unixtime-server.lastsave > sp->seconds && in serverCron()
1223 (server.unixtime-server.lastbgsave_try > in serverCron()
1298 (server.unixtime-server.lastbgsave_try > CONFIG_BGSAVE_RETRY_DELAY || in serverCron()
2835 time_t uptime = server.unixtime-server.stat_starttime; in genRedisInfoString()
3147 ((int)(server.unixtime-server.master->lastinteraction)) : -1, in genRedisInfoString()
3158 (int)(server.unixtime-server.repl_transfer_lastio) in genRedisInfoString()
3165 (intmax_t)server.unixtime-server.repl_down_since); in genRedisInfoString()
H A Dcluster.c1091 if (expire < server.unixtime) in clusterBlacklistCleanup()
2744 data_age = (mstime_t)(server.unixtime - server.master->lastinteraction) in clusterHandleSlaveFailover()
2747 data_age = (mstime_t)(server.unixtime - server.repl_down_since) * 1000; in clusterHandleSlaveFailover()
4566 cs->last_use_time = server.unixtime; in migrateGetSocket()
4604 cs->last_use_time = server.unixtime; in migrateGetSocket()
4636 if ((server.unixtime - cs->last_use_time) > MIGRATE_SOCKET_CACHE_TTL) { in migrateCloseTimedoutSockets()
H A Dserver.h935 time_t unixtime; /* Unix time sampled every cron cycle. */ member