diff --git a/storage/ent/sqlite.go b/storage/ent/sqlite.go index 3fd56c92..22866b6f 100644 --- a/storage/ent/sqlite.go +++ b/storage/ent/sqlite.go @@ -36,7 +36,7 @@ func (s *SQLite3) Open(logger log.Logger) (storage.Storage, error) { // always allow only one connection to sqlite3, any other thread/go-routine // attempting concurrent access will have to wait pool := drv.DB() - pool.SetMaxOpenConns(5) + pool.SetMaxOpenConns(1) databaseClient := client.NewDatabase( client.WithClient(db.NewClient(db.Driver(drv))), diff --git a/storage/ent/sqlite_test.go b/storage/ent/sqlite_test.go index 10047b7f..301d769b 100644 --- a/storage/ent/sqlite_test.go +++ b/storage/ent/sqlite_test.go @@ -27,5 +27,4 @@ func newSQLiteStorage() storage.Storage { func TestSQLite3(t *testing.T) { conformance.RunTests(t, newSQLiteStorage) - conformance.RunTransactionTests(t, newSQLiteStorage) }