Quantcast
Channel: Active questions tagged retry-logic - Stack Overflow
Browsing all 950 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

ZEHビルダーに登録されました!

H28年度「ネット・ゼロ・エネルギー・ハウス支援事業(ZEH)」について 第1回ZEHビルダーに登録されました!   これはゼロエネルギー住宅に125万円の補助金が出るものなんですが、 申請ができるのはZEH(ゼロエネルギー住宅)を建てられる会社だけです。   東京都や葛飾区の会社で登録されている会社もまだ少ないと思います。...

View Article


How to Set Up Step Execution with Custom Retries in Acidic Jobs (Rails)

I'm transitioning from using Sidekiq to Acidic Jobs in my Rails application. I'm relatively new to Acidic Jobs and would appreciate some guidance on setting up step execution for my jobs.Specifically,...

View Article


The stream was already consumed. It cannot be read again error using Polly to...

I read this 'Stream was already consumed' error using Polly to retry requests in ASP.NET Core but cannot see where to clone the http request message.So in my code, I register httpclient like:var...

View Article

Is it safe to rely on SqlConnection retry logic while using SqlCommand?

I was using Microsoft.Practice.TransientFaultHandling block for retry logic. Now I switched my application to .Net 4.8 and use the new build in retry logic for SqlConnection.I was wondering if I need a...

View Article

"retry" decorator from Tenacity doesn't work with a generator

It seems the @retry decorator does not seem to work when I use a generator.I have a code sample to illustrate my situation:from tenacity import retry,...

View Article


How can I suppress Execution Attempt log when using Polly V8...

In a .NET 8 project I'm using Serilog and Polly V8 and with ResiliencePipelineBuilder, and this log shows always, even if there is no retry:Execution attempt. Source:...

View Article

Calculating delay with exponential backoff

I'm writing my own retry logic with exponential backoff based on Microsoft's sample code on following page:...

View Article

Redelivery does not work for route when problem occurs while checking files...

I worked with SpringBoot with Java 21 ,Apache Camel and connection with sftp.I have a problem with calling re-delivery when I have a connection problem, I think. I have several sftp configurations....

View Article


Retry function in Python [duplicate]

Some time ago, I was in need of a retry function in R to handle slow servers response. The function would have the following behavior : (try an action (function or method), and if it fails, wait a bit...

View Article


DefaultErrorHandler is not configurable If @RetryableTopic used for retry and...

Spring boot version : 2.7.6Spring kafka version : 2.8.11Issue:I was trying to handle the deserialization issues in code. To handle such issues in code, I created my own class by...

View Article

TestNG testng-failed.xml 'invocation-numbers' values are not calculated...

In one of our Java project we use TestNG's dataprovider and retry mechanism quite a lot. We came accross a weird behaviour and can't decide whether it is a bug, or expected behaviour of TestNG.In...

View Article

Retry Logic - retry whole class if one tests fails - selenium

Following are the classes used to implement retry logicTestRetry Class:public class TestRetry implements IRetryAnalyzer { int counter=0; int retryLimit=2; @Override public boolean retry(ITestResult...

View Article

How to get Google Cloud Storage SDK for Node.js to automatically retry, and...

I'm using the Google Cloud Storage SDK for Node.js, and I'm trying to configure its automatic retries. I just watched a simple GET request fail with no retries, so I'm wondering what I could be doing...

View Article


What HTTP status code to return from a microservice when a required...

Consider a software system that consists of multiple web services (perhaps microservices) communicating with one another. In the course of a certain use case, a client sends a POST web request to an...

View Article

How to institute logging from Poly ResiliencePipeline for success after failure

In C# I'm using Polly Version=8.4.1 and a reusable retry ResiliencePipeline via ResiliencePipelineBuilder. return new ResiliencePipelineBuilder() .AddRetry(new RetryStrategyOptions { MaxRetryAttempts =...

View Article


Set customBackoff for AWS SDK JavaScript V3 retries

I just upgraded to AWS SDK V3 and I have no idea how to configure retryDelayOptions and customBackoff with it. I couldn't find any example code in AWS's own API reference or online. This is what I was...

View Article

MicrosoftSqlAzureExecutionStrategy derived class: retry number varies

I'm using .Net 4.8 and EF6.5 with Microsoft.Data.SqlClient. I want to manage retries for my SQL Azure WinForms app.I have a class derived from MicrosoftSqlAzureExecutionStrategy to log the retries and...

View Article


Airflow DAG to retry if any of the Airflow Tasks fails

Would like to ask a Airflow question , currently when we set on the DAG default args to retry 5 timesif failure happens default_args = {'owner': 'testing','retries': 5,'retry_delay':...

View Article

Retry strategy with exponential timeout

I use Polly to retry HTTP Requests. The following code works fine:IAsyncPolicy<HttpResponseMessage> waitTimeout = Policy.TimeoutAsync<HttpResponseMessage>(TimeSpan.FromSeconds(5));// Retry...

View Article

Cypress: How to retry entire test suite?

GoalBe able to perform multiple retries of an entire test suite until all tests succeed.Instead of configuring retries allowed for every test within a test suite, as defined by Configure Test Retries:...

View Article
Browsing all 950 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>