hamnet70/impl
Simon Ruderich 5fb5a2908d jsonlogger: increase pipe buffer to reduce likelihood of corrupted messages
Our JSON messages can get rather large which can cause a buffer overrun
when the reading program is not scheduled at the same time. When the
kernel returns EAGAIN we abort writing the current JSON message.
However, the unfinished (and thus invalid) JSON message is still in the
pipe and will be processed by the reading program.

Increase the pipe buffer from the default 65536 to reduce the likelihood
of this happening. It's difficult to completely prevent the issue as we
don't want to slow down the main program due to slow logging.
2024-05-28 08:51:56 +02:00
..
src jsonlogger: increase pipe buffer to reduce likelihood of corrupted messages 2024-05-28 08:51:56 +02:00
test test_rx_file: add JSON logging (controllable via JSONLOGGER define) 2024-05-28 08:51:56 +02:00
utils utils: fix numpy deprecation warnings 2024-04-20 01:14:17 +02:00
.gitignore Initial commit: infrastructure 2021-10-17 19:25:42 +02:00
CMakeLists.txt Dump debug info from the RX via jsonlogger 2024-05-07 21:40:29 +02:00
compile_flags.txt Initial commit: infrastructure 2021-10-17 19:25:42 +02:00
make.sh make.sh: allow passing parameters to `make` 2024-01-03 17:29:05 +01:00
setup_tundev.sh Switch to IPv6 2022-04-07 20:44:07 +02:00