remove batching workaround for Turso AWS endpoints (#171)

the underlying issue with batching on Turso AWS endpoints appears resolved, making the workaround unnecessary.
This commit is contained in:
dswbx
2025-05-21 07:47:24 +02:00
committed by GitHub
parent b3f95f9552
commit 0ac7d1fd6e

View File

@@ -44,13 +44,6 @@ export class LibsqlConnection extends SqliteConnection {
}
client = createClient({ url, authToken });
// currently there is an issue in limbo implementation
// that prevents batching from working correctly
if (/\.aws.*turso\.io$/.test(url)) {
$console.warn("Using an Turso AWS endpoint currently disables batching support");
batching_enabled = false;
}
} else {
client = clientOrCredentials;
}