StackExchange / StackExchange/StackExchange.Redis
Question: how can I know the retry times current try is?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
We use abortConnect=false and we wanna log ConnectionFailed event, for allowed retry, we wanna log it as warning, as for more than ten or six times, log it as error.
So I'm wondering if there's some method that I can get how many times had been retried? And could we use ConnectionRestored event to reset the retry times so that record for retry times?
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a source file, test, or implementation entry point. First determine whether the client exposes retry state around ConnectionFailed and ConnectionRestored, then clarify the intended API and reset semantics; the work is complete only when the requested retry count behavior is specified and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, redis
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100