Skip to content
Snippets Groups Projects
Commit 2eea219d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Clean-up the logging around the auto-tuned outbuf highwater mark

parent 8b9a3d57
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3547 passed
......@@ -2333,13 +2333,11 @@ void output_thread(void* arg)
}
#endif
#endif
lprintf(LOG_DEBUG,"Autotuning outbuf highwater mark to %d based on MSS",i);
if(i>IO_THREAD_BUF_SIZE) {
lprintf(LOG_DEBUG,"MSS (%d) is higher than IO_THREAD_BUF_SIZE (%d)",i,IO_THREAD_BUF_SIZE);
if(i>IO_THREAD_BUF_SIZE)
i=IO_THREAD_BUF_SIZE;
}
sbbs->outbuf.highwater_mark=i;
mss=sbbs->outbuf.highwater_mark;
lprintf(LOG_DEBUG, "%s outbuf highwater mark tuned to %d based on MSS", node, sbbs->outbuf.highwater_mark);
}
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment