Jonatan Männchen

Results 305 comments of Jonatan Männchen

Just to make sure that the registering is implemented correctly: In this supervisor the workers are started using swarm: https://github.com/quantum-elixir/quantum-core/blob/master/lib/quantum/supervisor.ex#L88-L97

@ejscunha Could I solve this by setting `restart` to `permanent` again? I think I set it to `transient` to make it work with `swarm`.

@ejscunha So a worker would have to implement something like this? ```elixir defmodule Acem.Worker do use GenServer #... def init(opts) do Process.flag(:trap_exit, true) # ... end # ... def terminate(reason,...

@ejscunha And how would that help with the stopping on SIGTERM?

I tried to incorporate the suggested changes from above (handing off in terminate, start via `Supervisor.start_child`) You can see the commit here: https://github.com/jshmrtn/quantum-elixir/commit/41fd06c42a948c0160bf68f16690bc646dc81772 I don't really see what is happening,...

Is there something more I should try to fix the problem?

I think we should start by defining what those would contain. Those are the things that come into my mind: * Help supervising multiple workers in ExUnit (since `start_supervised` doesn't...

BTW: I would also include a `Swarm.TestCase` that does two things: * Import all Test Helpers for convenience * "Warm Up" swarm in a `setup` block so that it is...

Status Update: With #254, support for Uptime Checks should be done. The alert policies are not done yet.

The code producing the problem has since been released publicly: https://github.com/jshmrtn/hygeia/blob/master/apps/hygeia_web/lib/hygeia_web/live/person_live/base_data.ex#L84 As said, this is only one occurrence of the error and it happens with all forms. I'm still unable...