# Introduce test-only Buffer::set_sync_parse_timeout · gitcafe/zed

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

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

Visibility: public

Requested revision: 08bac7b9a3c32871fb236b2411c9175381e5b4f7

Requested commit: 08bac7b9a3c32871fb236b2411c9175381e5b4f7

Commit: 08bac7b9a3c32871fb236b2411c9175381e5b4f7

Tree: b3d37fbd2369d426f9bc9228118dc0ef65144a3b

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Introduce test-only Buffer::set_sync_parse_timeout

When testing buffer's asynchronous reparsing, set the sync
parse timeout to zero, so that we can exercise the async code path.

```

## Parents

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

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