diff options
author | Andy Green <andy@warmcat.com> | 2021-01-06 15:08:22 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2021-03-08 21:47:28 +0000 |
commit | 3f4623bb36b6079b3dc59560a9b3ffa1043e3474 (patch) | |
tree | f1a29f8e398094c0110fc90c08f7f68935508e00 /lwsws/main.c | |
parent | c11a49c0b90a181f64acce47509c2659e5b68efd (diff) | |
download | libwebsockets-3f4623bb36b6079b3dc59560a9b3ffa1043e3474.tar.gz |
lws_metrics
There are a few build options that are trying to keep and report
various statistics
- DETAILED_LATENCY
- SERVER_STATUS
- WITH_STATS
remove all those and establish a generic rplacement, lws_metrics.
lws_metrics makes its stats available via an lws_system ops function
pointer that the user code can set.
Openmetrics export is supported, for, eg, prometheus scraping.
Diffstat (limited to 'lwsws/main.c')
-rw-r--r-- | lwsws/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lwsws/main.c b/lwsws/main.c index d2b70b71..eb19a042 100644 --- a/lwsws/main.c +++ b/lwsws/main.c @@ -64,7 +64,7 @@ static uv_signal_t signal_outer[2]; static int pids[32]; void lwsl_emit_stderr(int level, const char *line); -#define LWSWS_CONFIG_STRING_SIZE (32 * 1024) +#define LWSWS_CONFIG_STRING_SIZE (64 * 1024) static const struct lws_extension exts[] = { #if !defined(LWS_WITHOUT_EXTENSIONS) |