Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream/helpers: reduce some delays in await functions #2075

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

emranemran
Copy link
Contributor

No description provided.

@emranemran emranemran requested a review from a team as a code owner February 26, 2024 05:42
Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
livepeer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 26, 2024 5:45am

@emranemran emranemran merged commit 093e89b into master Feb 26, 2024
13 checks passed
@emranemran emranemran deleted the emran/reduce-pull-stream-delays branch February 26, 2024 17:23
@@ -674,7 +674,7 @@ export const triggerCatalystPullStart =
res.status
} error=${JSON.stringify(body)}`
);
await sleep(1000);
await sleep(250);
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if this could have bigger risks of concurrency issues, given each of these requests might hit a different catalyst instance. Then we could have multiple instances starting a pull at the same time (not sure what errors could happen after that tho). Let's keep this in mind if we notice any issues (this has been deployed to prod earlier today)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants