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

[update] Remove sleep in goroutine for webhook handlers#63940

Merged
pjlast merged 2 commits into
mainfrom
pjlast/implement-webhook-todo
Jul 19, 2024
Merged

[update] Remove sleep in goroutine for webhook handlers#63940
pjlast merged 2 commits into
mainfrom
pjlast/implement-webhook-todo

Conversation

@pjlast

@pjlast pjlast commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

Since permission sync jobs are database backed, we no longer need to sleep in the webhook handler goroutines, since the permission sync jobs have a sleep time themselves.

Test plan

Tests still pass, no real functional changes.

Changelog

@cla-bot cla-bot Bot added the cla-signed label Jul 19, 2024
@github-actions github-actions Bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Jul 19, 2024
Comment on lines +57 to +58
// TODO: Should we return errors here? We could receive a webhook for a repo
// that's not on Sourcegraph, so probably not?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably fine to ignore?

@pjlast pjlast merged commit 2994636 into main Jul 19, 2024
@pjlast pjlast deleted the pjlast/implement-webhook-todo branch July 19, 2024 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants