The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: bump debug time of auth lock to 10s (#39724)
Stojan Dimitrovski7646c167d61a
diff --git a/packages/common/gotrue.ts b/packages/common/gotrue.tsindex 407b2153e94..0d1db5f69a2 100644--- a/packages/common/gotrue.ts+++ b/packages/common/gotrue.ts@@ -129,7 +129,7 @@ async function debuggableNavigatorLock<R>(let stackException: anytry {- throw new Error('Lock is being held for over 2s here')+ throw new Error('Lock is being held for over 10s here')} catch (e: any) {stackException = e}@@ -144,12 +144,12 @@ async function debuggableNavigatorLock<R>(}console.error(- `Waited for over 2s to acquire an Auth client lock`,+ `Waited for over 10s to acquire an Auth client lock`,await navigator.locks.query(),stackException)})()- }, 2000)+ }, 10000)try {return await navigatorLock(name, acquireTimeout, async () => {