Questions tagged [exq]

3 questions
1
vote
1 answer

Module is not available when running Elixir exq workers

I have built an async job processing app using Elixir exq. The documentation says that I can run the application using both the terminal (with iex -S mix) or as a standalone application (with mix exq.run). When I run on the terminal, everything…
Daniel Cukier
  • 11,502
  • 15
  • 68
  • 123
0
votes
2 answers

Communicate between rails and phoenix using exq and Sidekiq

I am trying to add bridge between Rails and Phoenix framework to communicate. So far I can enqueue jobs in rails and those are picked up by Exq in phoenix framework. Sidekiq::Client.push({"queue" => "elixir_queue", "class" => "ElixirQueue", "args"…
quazar
  • 570
  • 4
  • 14
0
votes
1 answer

Phoenix with exq: How do I execute mix test without redis running

I use exq in my Phoenix application with Phoenix 1.4.16 to run some background jobs. One of them can be as simple as this: defmodule PeopleJob do def perform(request) do IO.puts("Hello from PeopleJob:\n#{inspect(request)}") end end It runs…
Châu Hồng Lĩnh
  • 1,986
  • 1
  • 20
  • 23