Skip to content

Enable pragma busy_timeout in sqlite #348

@jlewi

Description

@jlewi

See
https://www.sqlite.org/pragma.html#pragma_busy_timeout

By default sqlite doesn't retry DB operations if the sqlite DB is busy.

In #347 we started observing sqlite busy errors. We should consider enabling pragma busy_timeout. I didn't enable it in #347 because I want see how bad contention is before enabling retries. #347 is fixing a bunch of bugs that I think are contributing to spurious SQLIte busy errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions