Skip to content

Sidekiq worker tries to find User with id = 1, and fails #3

@dcki

Description

@dcki

For some reason if I have the app open in one or two web browser windows (with one incognito, so separate sessions) and I reset the database and start up sidekiq and rails server, and refresh the app in the browser, I'll often get a game created with user id 1 sent to perform, but somehow User with id 1 has been deleted, and when I refresh that user's window it asks me to log in again. Then I seem to need to get rid of that old game to get things working, which I do with redis-cli flushall (but if needed would use a more targeted method).

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