Module: kamailio
Branch: 5.1
Commit: 352af1b5a878daf90e16f5ae012f5ecb87fabbff
URL:
https://github.com/kamailio/kamailio/commit/352af1b5a878daf90e16f5ae012f5ec…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-21T08:25:36+02:00
core: pv - default number of buffer slots set to 40
- it was 10
- allow handling more chained evaluations in large strings
(cherry picked from commit c087b1d1dd06a1fd417998fe0a51dedcfe02e8c6)
---
Modified: src/core/pvapi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/352af1b5a878daf90e16f5ae012f5ec…
Patch:
https://github.com/kamailio/kamailio/commit/352af1b5a878daf90e16f5ae012f5ec…
---
diff --git a/src/core/pvapi.c b/src/core/pvapi.c
index dac770a0f3..841b1801fe 100644
--- a/src/core/pvapi.c
+++ b/src/core/pvapi.c
@@ -2025,7 +2025,7 @@ static char **_pv_print_buffer = NULL;
static int _pv_print_buffer_size = PV_DEFAULT_PRINT_BUFFER_SIZE;
static int _pv_print_buffer_size_active = 0;
/* 6 mod params + 4 direct usage from mods */
-#define PV_DEFAULT_PRINT_BUFFER_SLOTS 10
+#define PV_DEFAULT_PRINT_BUFFER_SLOTS 40
static int _pv_print_buffer_slots = PV_DEFAULT_PRINT_BUFFER_SLOTS;
static int _pv_print_buffer_slots_active = 0;
static int _pv_print_buffer_index = 0;