ZIm/crates/collab/src
Max Brunsfeld 1264e36429
Remove Default impl for ConnectionId (#7452)
We noticed the following message in my logs when trying to debug some
lag when collaborating:

```
2024-02-06T09:42:09-08:00 [ERROR] error handling message. client_id:3, sender_id:Some(PeerId { owner_id: 327, id: 1123430 }), type:GetCompletions, error:no such connection: 0/0
```

That `0/0` looks like a bogus connection id, constructed via a derived
`Default`. We didn't ever find a code path that would *use* a default
`ConnectionId` and lead to this error, but it did seem like an
improvement to not have a `Default` for that type.

Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>
2024-02-06 15:45:15 -05:00
..
bin Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
db Remove Default impl for ConnectionId (#7452) 2024-02-06 15:45:15 -05:00
rpc Use a synchronous mutex for ConnectionPool 2022-12-13 13:50:51 +01:00
tests Add the ability to reply to a message (#7170) 2024-02-06 13:22:54 -07:00
api.rs Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
auth.rs Update verify_access_token doc comment 2024-01-17 18:06:16 -08:00
db.rs Remove Default impl for ConnectionId (#7452) 2024-02-06 15:45:15 -05:00
env.rs Rename zed-server to collab 2022-04-09 08:30:42 -06:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs Fix merge conflict 2024-01-09 09:44:22 -07:00
main.rs Deploy collab like nightly (#7174) 2024-02-01 11:54:49 -07:00
rpc.rs Remove Default impl for ConnectionId (#7452) 2024-02-06 15:45:15 -05:00
tests.rs Start work on read-only project access for channel guests 2024-01-03 19:30:32 -07:00