This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
MT#55283 convert async_last to int64_t
Change-Id: I86284e3b6c0dc9c52be0e2ee54bf63a0490cece1
pull/1938/head
Richard Fuchs
8 months ago
parent
3b37004b6f
commit
f35881548d
2 changed files
with
7 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
daemon/redis.c
+6
-6
include/redis.h
+ 1
- 1
daemon/redis.c
View File
@ -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
)
{
+ 6
- 6
include/redis.h
View File
@ -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
{
Write
Preview
Loading…
Cancel
Save