Skip to content

SQLite connection causes "database is locked" errors when hit with concurrent requests #4620

Description

@ashwinuae

The default defined SQLite connection leaves journal_mode, busy_timeout, and synchronous set to null, so concurrent API requests (e.g. hitting /api/schedules and /api/incidents in quick succession) intermittently fail with "database is locked". Enabling WAL mode and a busy timeout by default would possibly prevent this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions