Introduce a timeout when processing incoming messages

We have an hypothesis that the server gets stuck while processing
an incoming message, either because the buffer fills up or because
a handler never completes. This should mitigate that and, once we
add logging, give us some clue as to what is causing it exactly.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
53a7f9c43eAntonio Scandurra committed on 4/8/2022, 2:21:39 PMparent0b1fda3
1 file changedLine totals unavailable