Skip to content

When retrying request also retry features#827

Open
ilyabylich-st wants to merge 1 commit intohttprb:mainfrom
ilyabylich-st:retry-features
Open

When retrying request also retry features#827
ilyabylich-st wants to merge 1 commit intohttprb:mainfrom
ilyabylich-st:retry-features

Conversation

@ilyabylich-st
Copy link

Closes #826.

  1. This PR changes Retriable to also restart all features when starting a retry.
  2. I've added a DummyFeature class to simplify testing, I hope it's OK.
  3. include Singleton can't be used there because HTTP.rb calls FeatureClass.new. However, we need .instance, so allocate -> initialize is used instead. If you know a better solution please LMK.

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.

Instrumentation feature doesn't work together with Retriable module

1 participant