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

gajus / slonik
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v29.1.0
DEFAULT BRANCH: master
Repo Added 12 Nov 2017 10:23PM UTC
Files 70
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

LAST BUILD ON BRANCH v25.0.0
branch: v25.0.0
CHANGE BRANCH
x
Reset
  • v25.0.0
  • add-literal-value
  • dependabot/npm_and_yarn/benchmark/dset-3.1.2
  • gajus/add-conection-timeout
  • gajus/add-generate-type-name
  • gajus/add-jsonb
  • gajus/fix-ts-expect-error
  • gajus/simplify-connection-destroy
  • main
  • master
  • typescript
  • v1.1.1
  • v1.1.2
  • v1.2.1
  • v10.0.0
  • v11.0.0
  • v11.1.0
  • v11.2.0
  • v12.0.0
  • v12.0.1
  • v13.0.0
  • v13.1.0
  • v13.1.1
  • v14.0.0
  • v14.1.0
  • v14.10.0
  • v14.11.0
  • v14.12.0
  • v14.12.1
  • v14.13.0
  • v14.14.0
  • v14.14.1
  • v14.17.0
  • v14.17.1
  • v14.18.0
  • v14.19.0
  • v14.2.0
  • v14.3.0
  • v14.4.0
  • v14.5.0
  • v14.6.0
  • v14.6.1
  • v14.7.0
  • v14.7.1
  • v14.8.0
  • v14.8.1
  • v14.9.0
  • v15.0.0
  • v15.1.0
  • v15.1.1
  • v15.2.0
  • v15.2.1
  • v15.2.2
  • v15.3.0
  • v15.4.0
  • v15.4.1
  • v15.4.2
  • v15.4.3
  • v16.0.0
  • v16.1.0
  • v16.1.1
  • v16.10.0
  • v16.11.0
  • v16.12.0
  • v16.13.0
  • v16.14.0
  • v16.15.0
  • v16.15.1
  • v16.16.0
  • v16.17.0
  • v16.17.1
  • v16.18.0
  • v16.19.0
  • v16.19.1
  • v16.19.2
  • v16.19.3
  • v16.19.4
  • v16.19.5
  • v16.19.6
  • v16.19.7
  • v16.2.0
  • v16.2.1
  • v16.2.2
  • v16.2.3
  • v16.2.4
  • v16.20.0
  • v16.21.0
  • v16.21.1
  • v16.21.2
  • v16.21.3
  • v16.21.4
  • v16.3.0
  • v16.4.0
  • v16.5.0
  • v16.5.1
  • v16.6.0
  • v16.7.0
  • v16.7.1
  • v16.8.0
  • v16.8.1
  • v16.9.0
  • v17.0.0
  • v17.1.0
  • v17.1.1
  • v18.0.0
  • v18.1.0
  • v18.1.1
  • v18.10.0
  • v18.10.1
  • v18.11.0
  • v18.11.1
  • v18.11.2
  • v18.2.0
  • v18.2.1
  • v18.2.2
  • v18.3.0
  • v18.4.0
  • v18.5.0
  • v18.6.0
  • v18.7.0
  • v18.8.0
  • v18.9.0
  • v19.0.0
  • v19.0.1
  • v19.0.2
  • v19.0.3
  • v19.0.4
  • v19.1.0
  • v19.1.1
  • v19.1.2
  • v19.2.0
  • v19.2.1
  • v19.3.0
  • v19.4.0
  • v19.5.0
  • v19.6.0
  • v19.7.0
  • v19.8.0
  • v20.0.0
  • v20.1.0
  • v20.1.1
  • v20.1.2
  • v20.1.3
  • v21.0.0
  • v21.1.0
  • v21.1.1
  • v21.1.2
  • v21.2.0
  • v21.3.0
  • v21.4.0
  • v21.4.1
  • v21.4.2
  • v22.0.0
  • v22.0.1
  • v22.1.0
  • v22.2.0
  • v22.2.1
  • v22.3.0
  • v22.4.0
  • v22.4.1
  • v22.4.10
  • v22.4.11
  • v22.4.12
  • v22.4.13
  • v22.4.2
  • v22.4.3
  • v22.4.4
  • v22.4.5
  • v22.4.6
  • v22.4.7
  • v22.4.8
  • v22.4.9
  • v22.5.0
  • v22.6.0
  • v22.6.1
  • v22.7.0
  • v23.0.0
  • v23.0.1
  • v23.0.2
  • v23.0.3
  • v23.1.0
  • v23.2.0
  • v23.3.0
  • v23.3.1
  • v23.4.0
  • v23.4.1
  • v23.5.0
  • v23.5.1
  • v23.5.2
  • v23.5.3
  • v23.5.4
  • v23.5.5
  • v23.6.0
  • v23.6.1
  • v23.6.2
  • v23.6.3
  • v23.6.4
  • v23.7.0
  • v23.8.0
  • v23.8.1
  • v23.8.2
  • v23.8.3
  • v23.8.4
  • v23.8.5
  • v23.9.0
  • v24.0.0
  • v24.0.1
  • v24.1.0
  • v24.1.1
  • v24.1.2
  • v24.2.0
  • v25.1.0
  • v25.1.1
  • v25.1.2
  • v25.1.3
  • v26.0.0
  • v26.1.0
  • v26.2.0
  • v26.2.1
  • v26.2.2
  • v27.0.0
  • v27.1.0
  • v27.1.1
  • v28.0.0
  • v28.1.0
  • v28.1.1
  • v28.1.2
  • v28.2.0
  • v29.0.0
  • v29.1.0
  • v5.0.0
  • v5.1.0
  • v5.10.0
  • v5.2.0
  • v5.3.0
  • v5.4.0
  • v5.5.0
  • v5.6.0
  • v5.6.1
  • v5.7.0
  • v5.8.0
  • v5.8.1
  • v5.8.2
  • v5.9.0
  • v6.0.0
  • v6.1.0
  • v6.2.0
  • v6.3.0
  • v6.3.1
  • v6.4.0
  • v6.4.1
  • v6.4.2
  • v7.0.0
  • v7.0.1
  • v7.0.2
  • v7.0.3
  • v8.0.0
  • v8.0.1
  • v8.0.2
  • v8.0.3
  • v8.0.4
  • v8.1.0
  • v8.2.0
  • v8.2.1
  • v8.3.1
  • v8.3.2
  • v8.4.1
  • v9.0.0
  • v9.1.0
  • v9.1.1
  • v9.2.0

pending completion
988

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 %.

1245 of 1385 relevant lines covered (89.89%)

91.06 hits per line

Relevant lines Covered
Build:
Build:
1385 RELEVANT LINES 1245 COVERED LINES
91.06 HITS PER LINE
Source Files on v25.0.0
  • Tree
  • List 68
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
988 v25.0.0 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 tran... push 07 Nov 2021 05:36PM UTC web-flow travis-ci-com pending completion  
See All Builds (843)
  • Repo on GitHub
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

© 2025 Coveralls, Inc