aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-08-29 16:41:10 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-08-30 11:27:24 +0200
commitc1d7bb69082b25fc2b33c2ff37cb027aacc71cbc (patch)
treee4e9404a44cb65441e1a296fb0faa35828e6e763 /include
parent94426aae6121ae67b624f6907ed675df573f49fb (diff)
meas_feed: Increase wqueue max_len to 100 and make it vty-configurable
The previous amount of 10 messages may be small if the BSC is processing lots of measurements from lots of BTS connected to it. Increase it to 100 by default, and allow changing the write_queue length through the VTY. Related: SYS#6550 Change-Id: Ib2e3591498c038b8e59f3ad447ac1f65928d6da8
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/meas_feed.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/meas_feed.h b/include/osmocom/bsc/meas_feed.h
index 353278e71..f2bd4baae 100644
--- a/include/osmocom/bsc/meas_feed.h
+++ b/include/osmocom/bsc/meas_feed.h
@@ -35,9 +35,12 @@ enum meas_feed_msgtype {
};
#define MEAS_FEED_VERSION 1
+#define MEAS_FEED_WQUEUE_MAX_LEN_DEFAULT 100
int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port);
void meas_feed_scenario_set(const char *name);
+void meas_feed_wqueue_max_length_set(unsigned int max_length);
void meas_feed_cfg_get(char **host, uint16_t *port);
const char *meas_feed_scenario_get(void);
+unsigned int meas_feed_wqueue_max_length_get(void);