Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

sqlite3 often fails on connection with action-cable #23

Open
@catmando

Description

@catmando

sequence goes like this:

system boots
any messages sent are queued in temporary polling connection
action-cable notifies client that we are connected
client notifies server that connection is complete and gets any queued messages
temporary connection is destroyed
the new action-cable connection is established

at the destroy step very often sqlite3 dies with a db locked error
this means that the action action-cable connection (within hyper-operation) never is established.

Solution: on the client poll 10 times every 200 ms then fail.

This will help if there are any other reasons for failure at this stage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions