cockroachdb / cockroachdb/example-app-rust-postgres

Refactor execute_txn function to be more readable

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The `execute_txn` is fairly opaque and under-commented. We should refactor it to set a maximum number of retries, describe what it is doing, and consider making all calls async, as mentioned in the comments in #1.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.