Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dreplication.c511 c->repl_ack_time = server.unixtime; in masterTryPartialResynchronization()
823 c->repl_ack_time = server.unixtime; in replconfCommand()
1150 server.repl_transfer_lastio = server.unixtime; in readSyncBulkPayload()
1219 server.repl_transfer_lastio = server.unixtime; in readSyncBulkPayload()
1388 server.repl_transfer_lastio = server.unixtime; in sendSynchronousCommand()
1868 server.repl_transfer_lastio = server.unixtime; in syncWithMaster()
1905 server.repl_transfer_lastio = server.unixtime; in connectWithMaster()
2009 server.repl_no_slaves_since = server.unixtime; in replicationUnsetMaster()
2017 server.repl_down_since = server.unixtime; in replicationHandleMasterDisconnection()
2252 server.master->lastinteraction = server.unixtime; in replicationResurrectCachedMaster()
[all …]
H A Daof.c285 server.aof_last_fsync = server.unixtime; in startAppendOnly()
350 server.unixtime > server.aof_last_fsync && in flushAppendOnlyFile()
369 server.aof_flush_postponed_start = server.unixtime; in flushAppendOnlyFile()
371 } else if (server.unixtime - server.aof_flush_postponed_start < 2) { in flushAppendOnlyFile()
413 if ((server.unixtime - last_write_error_log) > AOF_WRITE_LOG_ERROR_RATE) { in flushAppendOnlyFile()
415 last_write_error_log = server.unixtime; in flushAppendOnlyFile()
507 server.aof_last_fsync = server.unixtime; in flushAppendOnlyFile()
509 server.unixtime > server.aof_last_fsync)) { in flushAppendOnlyFile()
514 server.aof_last_fsync = server.unixtime; in flushAppendOnlyFile()
H A Dnetworking.c126 c->ctime = c->lastinteraction = server.unixtime; in createClient()
922 server.repl_no_slaves_since = server.unixtime; in freeClient()
1056 if (!(c->flags & CLIENT_MASTER)) c->lastinteraction = server.unixtime; in writeToClient()
1220 c->repl_ack_time = server.unixtime; in processInlineBuffer()
1567 c->lastinteraction = server.unixtime; in readQueryFromClient()
1681 (long long)(server.unixtime - client->ctime), in catClientInfoString()
1682 (long long)(server.unixtime - client->lastinteraction), in catClientInfoString()
2097 c->obuf_soft_limit_reached_time = server.unixtime; in checkClientOutputBufferLimits()
2100 time_t elapsed = server.unixtime - c->obuf_soft_limit_reached_time; in checkClientOutputBufferLimits()
H A Dserver.c858 time_t idletime = server.unixtime - c->lastinteraction; in clientsCronResizeQueryBuffer()
915 int i = server.unixtime % CLIENTS_PEAK_MEM_USAGE_SLOTS; in clientsCronTrackExpansiveClients()
1064 time_t unixtime = time(NULL); in updateCachedTime() local
1065 atomicSet(server.unixtime,unixtime); in updateCachedTime()
1073 localtime_r(&server.unixtime,&tm); in updateCachedTime()
1272 server.unixtime-server.lastsave > sp->seconds && in serverCron()
1273 (server.unixtime-server.lastbgsave_try > in serverCron()
1349 (server.unixtime-server.lastbgsave_try > CONFIG_BGSAVE_RETRY_DELAY || in serverCron()
3129 time_t uptime = server.unixtime-server.stat_starttime; in genRedisInfoString()
3530 (int)(server.unixtime-server.repl_transfer_lastio) in genRedisInfoString()
[all …]
H A Devict.c300 return (server.unixtime/60) & 65535; in LFUGetTimeInMinutes()
H A Dcluster.c1133 if (expire < server.unixtime) in clusterBlacklistCleanup()
2989 data_age = (mstime_t)(server.unixtime - server.master->lastinteraction) in clusterHandleSlaveFailover()
2992 data_age = (mstime_t)(server.unixtime - server.repl_down_since) * 1000; in clusterHandleSlaveFailover()
4977 cs->last_use_time = server.unixtime; in migrateGetSocket()
5015 cs->last_use_time = server.unixtime; in migrateGetSocket()
5047 if ((server.unixtime - cs->last_use_time) > MIGRATE_SOCKET_CACHE_TTL) { in migrateCloseTimedoutSockets()
H A Dserver.h1223 time_t unixtime; /* Unix time sampled every cron cycle. */ member