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

supabase / gotrue / 5739482627 / 1
65%
master: 65%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2023 01:36PM UTC
Files 109
Run time 9s
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

02 Aug 2023 01:36PM UTC coverage: 65.982% (-0.1%) from 66.078%
5739482627.1

push

github

web-flow
feat: retry concurrent refresh token attempts (#1202)

With #1190 each refresh token request was serialized with other such
requests. However, in cases where there's a not-insignificant number of
parallel refresh token requests for the same refresh token, a situation
arises where a significant number of connections are opened against the
database that perform little work. Furthermore, if GoTrue is configured
with a bounded connection pool, this could lead to significantly reduced
performance of the server.

With these changes, when `SELECT ... FOR UPDATE` is used on the refresh
token and session row, it is now done using the `SKIP LOCKED` clause. If
one or both of those rows are already locked, GoTrue will immediately
release the database connection, wait 10-30 ms and try to refresh the
token again. If after 5s the lock cannot be acquired, a HTTP 409
Conflict error will be returned. Clients should consider waiting at
least a few seconds before retrying on this error.

7229 of 10956 relevant lines covered (65.98%)

50.36 hits per line

Source Files on job 5739482627.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5739482627
  • d8940124 on github
  • Prev Job for on master (#5737260157.1)
  • Next Job for on master (#5741374570.1)
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