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

Add AllowInBandSync handler option #58

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

amh4r
Copy link
Contributor

@amh4r amh4r commented Sep 16, 2024

Add HandlerOpts.AllowInBandSync to control whether in-band syncs are allowed.

This is necessary because only using an env var (INNGEST_ALLOW_IN_BAND_SYNC) makes tests really hard to write, since env vars aren't scoped to individual tests.

@amh4r amh4r requested review from tonyhb and jpwilliams September 16, 2024 00:03
@amh4r amh4r merged commit 6d204d0 into main Sep 16, 2024
6 checks passed
@amh4r amh4r deleted the add-AllowInBandSync-option branch September 16, 2024 14:13
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.

2 participants