[sr-dev] git:master: core: pv print default buffer size set to 8kB

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 13 13:46:49 CEST 2014


Module: sip-router
Branch: master
Commit: b1a8a624146056e38c725b70273174324dd134a4
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b1a8a624146056e38c725b70273174324dd134a4

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Oct 13 13:10:33 2014 +0200

core: pv print default buffer size set to 8kB

---

 pvapi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pvapi.c b/pvapi.c
index e24391e..981d85c 100644
--- a/pvapi.c
+++ b/pvapi.c
@@ -1887,7 +1887,7 @@ void pv_destroy_api(void)
  * - buffer to print PVs
  */
 static char **_pv_print_buffer = NULL;
-#define PV_DEFAULT_PRINT_BUFFER_SIZE 1024
+#define PV_DEFAULT_PRINT_BUFFER_SIZE 8192 /* 8kB */
 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 */




More information about the sr-dev mailing list