Closed amh4r closed 2 months ago
Add HandlerOpts.AllowInBandSync to control whether in-band syncs are allowed.
HandlerOpts.AllowInBandSync
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.
INNGEST_ALLOW_IN_BAND_SYNC
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.