docs(database): fix proof claim — SetMaxOpenConns(1) is sufficient, not necessary

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
カン 2026-04-28 11:14:03 +09:00 committed by 康厚超
parent 314f877d78
commit ca49f5672a

View file

@ -56,8 +56,8 @@ func TestInitDBConcurrencyConfig(t *testing.T) {
})
}
// TestConcurrentWrites proves that SetMaxOpenConns(1) is necessary and
// sufficient to prevent the "database is locked" errors in issue #3739.
// TestConcurrentWrites proves that SetMaxOpenConns(1) is sufficient to prevent
// the "database is locked" errors in issue #3739.
//
// Both sub-tests use _busy_timeout=10ms so that lock contention surfaces
// within milliseconds rather than the go-sqlite3 default of 5 000 ms.