• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gajus / slonik / 987
89%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2021 05:29PM UTC
Jobs 1
Files 68
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
987

push

travis-ci-com

web-flow
feat: change query retry handling (#308)

Move transaction retry handling to the transaction and nestedTransaction
methods and change it so that the handler function is called again
instead of just replaying the queries that are part of the transaction.
Fixes #163.

Add a second parameter to the transaction method to allow users to
define a retry limit per transaction. If a retry limit is given for a
transaction then the global defined retry limit for transactions is
ignored.

Change executeQuery so that it retries individual queries that failed
with a transaction rollback error. Only queries that are not part of a
transaction are retried. The number of times a query is retried is
specified by the global queryRetryLimit configuration. Fixes #176.

The above change also fixes #196 since the transactionQueries array no
longer exists.

BREAKING CHANGE: changes query / transaction retry strategy

416 of 503 branches covered (82.7%)

Branch coverage included in aggregate %.

63 of 63 new or added lines in 4 files covered. (100.0%)

1245 of 1385 relevant lines covered (89.89%)

91.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 987.1 07 Nov 2021 05:29PM UTC 0
87.98
Travis Job 987.1
Source Files on build 987
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #987
  • f973ced7 on github
  • Prev Build on master (#985)
  • Next Build on master (#989)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc