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
Redis fix for active-active
pull/1646/head
Stefan Mititelu
3 years ago
parent
905d584902
commit
2f705df1bf
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
daemon/call.c
+3
-0
daemon/redis.c
+ 1
- 0
daemon/call.c
View File
@ -4698,6 +4698,7 @@ del_all:
ilog
(
LOG_INFO
,
"
Deleting entire call
"
)
;
rwlock_unlock_w
(
&
c
-
>
master_lock
)
;
call_destroy
(
c
)
;
update
=
false
;
}
goto
success
;
+ 3
- 0
daemon/redis.c
View File
@ -2743,6 +2743,9 @@ void redis_delete(struct call *c, struct redis *r) {
if
(
!
r
)
return
;
if
(
c
-
>
foreign_call
)
return
;
if
(
delete_async
)
{
LOCK
(
&
r
-
>
async_lock
)
;
rwlock_lock_r
(
&
c
-
>
master_lock
)
;
Write
Preview
Loading…
Cancel
Save