mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 20:54:15 +00:00
add fsctl flush_db_handles to expire any unused db handles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15982 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
309c4c54bd
commit
ba8e009228
5 files changed
+17
-1
No files matched your search
@@ -1568,6 +1568,9 @@ SWITCH_DECLARE(int32_t) switch_core_session_ctl(switch_session_ctl_t cmd, int32_
|
||||
}
|
||||
|
||||
switch (cmd) {
|
||||
case SCSC_FLUSH_DB_HANDLES:
|
||||
switch_cache_db_flush_handles();
|
||||
break;
|
||||
case SCSC_SEND_SIGHUP:
|
||||
handle_SIGHUP(1);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user