ZIm/crates/collab/src
Antonio Scandurra 4acfab689e
Fix logic errors in RateLimiter (#12421)
This pull request fixes two issues in `RateLimiter` that caused
excessive rate-limiting to take place:

- c19083a35c fixes a mistake that caused
us to load buckets from the database incorrectly and set the
`refill_time_per_token` to equal the `refill_duration`. This was the
primary reason why rate limiting was acting oddly.
- 34b88d14f6 fixes another slight logic
error that caused tokens to be underprovisioned. This was minor compared
to the bug above.

Release Notes:

- N/A
2024-05-29 12:05:40 +02:00
..
api Fix country code serialization (#11947) 2024-05-16 18:54:07 -06:00
bin Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
db Fix some warnings/issues uncovered by the new cfg checking (#12310) 2024-05-26 12:50:20 +02:00
rpc open new buffer (#11203) 2024-04-30 16:09:43 -06:00
tests Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
ai.rs New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00
api.rs Rust 1.78 (#11314) 2024-05-05 15:02:50 +02:00
auth.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs Support very large channel membership lists (#11939) 2024-05-16 20:02:25 -06:00
env.rs Add an extensions API to the collaboration server (#7807) 2024-02-15 12:53:57 -08: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 Supermaven (#10788) 2024-05-03 12:50:42 -07:00
main.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
rate_limiter.rs Fix logic errors in RateLimiter (#12421) 2024-05-29 12:05:40 +02:00
rpc.rs Allow clients to run Zed tasks on remote projects (#12199) 2024-05-24 22:26:57 +03:00
seed.rs Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
tests.rs WIP: remoting (#10085) 2024-04-11 15:36:35 -06:00