Skip to content

Commit b74509a

Browse files
committed
docs(yugabyte): update readme (add retry options)
1 parent 9a407b6 commit b74509a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

database/yugabytedb/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
| `x-migrations-table` | `MigrationsTable` | Name of the migrations table |
88
| `x-lock-table` | `LockTable` | Name of the table which maintains the migration lock |
99
| `x-force-lock` | `ForceLock` | Force lock acquisition to fix faulty migrations which may not have released the schema lock (Boolean, default is `false`) |
10+
| `x-max-retries` | `MaxRetries` | How many times retry queries on retryable errors (40001, 40P01, 08006, XX000). Default is 10 |
11+
| `x-max-retry-interval` | `MaxRetryInterval` | Interval between retries increases exponentially. This option specifies maximum duration between retries. Default is 15s |
12+
| `x-max-retry-elapsed-time` | `MaxRetryElapsedTime` | Total retries timeout. Default is 30s |
1013
| `dbname` | `DatabaseName` | The name of the database to connect to |
1114
| `user` | | The user to sign in as |
1215
| `password` | | The user's password |

0 commit comments

Comments
 (0)