FR: Make the Number of Retires Configurable in transaction()

Open Beginner friendly
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
database

Research direction

Start at the db.Reference.transaction() method and trace where its fixed retry count of 25 is used. Add the optional max_retries argument and verify that transaction() uses the supplied value while retaining the existing default behavior.

Written by the indexing model from the issue text.

Description

api: database type: feature request

Add an optional max_retries argument to the db.Reference.transaction() method. Currently it uses a fixed retry count (25).

Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
5d 6m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-python

All issues in firebase/firebase-admin-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.