@oej commented on this pull request.
@@ -1854,6 +1854,22 @@ static const char
*rpc_presence_cleanup_doc[3] = {
"presentity, and watchers tables.",
0};
+
+void rpc_presence_publish_cache_sync(rpc_t *rpc, void *ctx)
+{
+ LM_DBG("Synchronizing presentity table with the publish cache.\n");
+ if (pres_htable_db_restore() == -1 ) {
+ rpc->fault(ctx, 500, "Failed to sync presinity table with the publish
cache.");
Add a positive answer too, 200
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3462#pullrequestreview-1435366655
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3462/review/1435366655(a)github.com>