Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting :mnesia for Pow breaks non-persistent que #17

Open
sensiblearts opened this issue Jun 12, 2019 · 0 comments
Open

setting :mnesia for Pow breaks non-persistent que #17

sensiblearts opened this issue Jun 12, 2019 · 0 comments

Comments

@sensiblearts
Copy link

sensiblearts commented Jun 12, 2019

Is there a way to let que know to ignore the :mnesia :dir config that I set for a different process?

I had que working fine along with Pow auth library.

However, I just went to a multi-node setup, and set the :mnesia :dir for Pow, but I do not need to use persistence for que.

It was running fine yesterday after first time using mnesia, but today I get this:

 ** (EXIT) an exception was raised:
        ** (Memento.Error) Transaction Failed with: {:no_exists, Que.Persistence.Mnesia.DB.Jobs}
            (memento) lib/memento/transaction.ex:178: Memento.Transaction.handle_result/1
            (que) lib/que/server_supervisor.ex:72: Que.ServerSupervisor.resume_queued_jobs/0

If I delete the :mnesia :dir contents before starting, the error goes away

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant