Module: kamailio
Branch: master
Commit: 6dc9ee1701019c8db994710c11f7e05447cbae92
URL: 
https://github.com/kamailio/kamailio/commit/6dc9ee1701019c8db994710c11f7e05447cbae92

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2017-11-21T11:02:38+01:00

core: pv - new parameters to control the size of pv cache

- pv_cache_limit - the limit how many pv declarations in the cache
  after which an action is taken. Default value is 2048
- pv_cache_action - specify what action to be done when the size
  of pv cache is exceeded. If 0, print an warning log message when
  the limit is exceeded. If 1, warning log messages is printed and
  the cache systems tries to drop a $sht(...) declaration. Default is 0

This tries to cope better with the situation of declaring too many
variables when using kemi scripts

---

Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/cfg_core.c
Modified: src/core/cfg_core.h
Modified: src/core/pvapi.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/6dc9ee1701019c8db994710c11f7e05447cbae92.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6dc9ee1701019c8db994710c11f7e05447cbae92.patch


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to