zed/crates/gpui
Conrad Irwin 5a9f1e4eb7
fix local collab tests (#4209)
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
2024-01-22 23:17:23 -07:00
..
docs Remove some todo!'s 2024-01-09 11:36:36 +02:00
examples More adjustments for blog post 2024-01-18 07:01:46 -07:00
src fix local collab tests (#4209) 2024-01-22 23:17:23 -07:00
tests Remove some todo!'s 2024-01-09 11:36:36 +02:00
build.rs Rebuild shader header when cbindgen sources have changed 2024-01-15 16:23:22 +01:00
Cargo.toml Tweak the description of the gpui crate (#4142) 2024-01-18 18:52:16 -05:00