MT#55283 convert async_last to int64_t

Change-Id: I86284e3b6c0dc9c52be0e2ee54bf63a0490cece1
pull/2061/head
Richard Fuchs 1 year ago
parent 3b37004b6f
commit f35881548d

@ -801,7 +801,7 @@ void redis_delete_async_loop(void *d) {
return ;
}
r->async_last = timeval_from_us(rtpe_now).tv_sec;
r->async_last = rtpe_now;
// init libevent for pthread usage
if (evthread_use_pthreads() < 0) {

@ -58,13 +58,13 @@ struct redis {
int64_t restore_tick_us;
int current_db;
struct event_base *async_ev;
struct redisAsyncContext *async_ctx;
mutex_t async_lock;
GQueue async_queue;
int async_last;
struct event_base *async_ev;
struct redisAsyncContext *async_ctx;
mutex_t async_lock;
GQueue async_queue;
int64_t async_last;
bool update_resolve;
bool update_resolve;
};
struct redis_hash {

Loading…
Cancel
Save