Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Conversation

ggilmore
Copy link
Contributor

@ggilmore ggilmore commented Aug 21, 2023

Manual backport of https://github.com/sourcegraph/sourcegraph/pull/54748, since there was a merge conflict.


It seems we were using a weird version of throttled which I don't think was actually based on the v2 series correctly. This updates us to the latest version and moves us away from the removed struct GCRARateLimiter and the deprecated interface GCRAStore.

I came across this while attempting to update deps and getting failing compiles.

Test Plan: we have unit tests for this, so CI.

(cherry picked from commit c390e4b)

Test plan

Original CI

@ggilmore ggilmore requested review from keegancsmith and a team August 21, 2023 22:20
@cla-bot cla-bot bot added the cla-signed label Aug 21, 2023
@coury-clark coury-clark enabled auto-merge (squash) August 21, 2023 22:21
It seems we were using a weird version of throttled which I don't think
was actually based on the v2 series correctly. This updates us to the
latest version and moves us away from the removed struct GCRARateLimiter
and the deprecated interface GCRAStore.

I came across this while attempting to update deps and getting failing
compiles.

Test Plan: we have unit tests for this, so CI.

(cherry picked from commit c390e4b)
@sourcegraph-bot
Copy link
Contributor

📖 Storybook live preview

@coury-clark coury-clark merged commit 9195b1f into 5.1 Aug 21, 2023
@coury-clark coury-clark deleted the update-throttled branch August 21, 2023 22:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants