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:
Anthony Minessale
2009-12-17 00:03:17 +00:00
parent 309c4c54bd
commit ba8e009228
5 changed files with 17 additions and 1 deletions

View File

@@ -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;