# Introduce a timeout when processing incoming messages · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/53a7f9c43e5be422475bd9a5f5fa42093a66a13b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 53a7f9c43e5be422475bd9a5f5fa42093a66a13b

Requested commit: 53a7f9c43e5be422475bd9a5f5fa42093a66a13b

Commit: 53a7f9c43e5be422475bd9a5f5fa42093a66a13b

Tree: 5d013f1af1a9069463d00178a7a08a4f85d7c7a9

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
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>

```

## Parents

- [0b1fda3e13d55a9471a6bd9b279d6b88cc47443f](https://git.cafe/gitcafe/zed/commit/0b1fda3e13d55a9471a6bd9b279d6b88cc47443f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/53a7f9c43e5be422475bd9a5f5fa42093a66a13b?format=markdown)
