From 0ac7d1fd6ef5a90c2218bbd8de220a8e3fef7f10 Mon Sep 17 00:00:00 2001 From: dswbx Date: Wed, 21 May 2025 07:47:24 +0200 Subject: [PATCH] remove batching workaround for Turso AWS endpoints (#171) the underlying issue with batching on Turso AWS endpoints appears resolved, making the workaround unnecessary. --- app/src/data/connection/sqlite/LibsqlConnection.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/src/data/connection/sqlite/LibsqlConnection.ts b/app/src/data/connection/sqlite/LibsqlConnection.ts index c8b4441..210f8cf 100644 --- a/app/src/data/connection/sqlite/LibsqlConnection.ts +++ b/app/src/data/connection/sqlite/LibsqlConnection.ts @@ -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; }