mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-02 08:20:09 +00:00
5a9f1e4eb7
I was unable to run the collab tests locally because I would run out of file descriptors. From some digging it turned out that tokio allocates a new file descriptor to do work on the CurrentThread using KQUEUE. We create a new tokio Runtime with each database connection, and these database connections were being retained by the Client, which is retained by the Context. Cleaning up our leaked contexts (and an unrelated retain cycle in the UserStore) fixes the problem (though does make me wonder if a different approach might be preferrable). Release Notes: - N/A |
||
---|---|---|
.. | ||
docs | ||
examples | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |