neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
Workers: stdout debugging leftovers out of their callbacks
390f907 · Gabe Morell · 2026-11-05 00:30
Message
{commit_body(@commit)}
Files changed
modified
apps/room_air_quality/lib/room_air_quality/aqi_worker.ex
+0
−1
@@ -385,7 +385,6 @@ defmodule RoomAirQuality.Worker do
| 385 | 385 | end |
| 386 | 386 | |
| 387 | 387 | def handle_cast(:refresh_db_cfg, state) do |
| 388 | − IO.puts("rerere") | |
| 389 | 388 | {:noreply, state} |
| 390 | 389 | end |
| 391 | 390 |
modified
apps/room_calendar/lib/room_calendar/calendar_worker.ex
+1
−1
@@ -86,7 +86,7 @@ defmodule RoomCalendar.Worker do
| 86 | 86 | Logger.debug("iCAL::#{state.id} wrote #{count} entries") |
| 87 | 87 | |
| 88 | 88 | {:error, reason} -> |
| 89 | − IO.puts("error #{reason.reason}") | |
| 89 | + Logger.warning("iCAL::#{state.id} fetch failed: #{inspect(reason.reason)}") | |
| 90 | 90 | end |
| 91 | 91 | |
| 92 | 92 | {:noreply, state} |
modified
apps/room_gitlab/lib/room_gitlab/gitlab_worker.ex
+0
−2
@@ -187,8 +187,6 @@ defmodule RoomGitlab.Worker do
| 187 | 187 | # own gives each request an id of its own. |
| 188 | 188 | hackney: [pool: false] |
| 189 | 189 | ) |
| 190 | − | |
| 191 | − # |> IO.inspect() | |
| 192 | 190 | end |
| 193 | 191 | |
| 194 | 192 | defp last_hour?(entry_field, hours \\ 1) do |
modified
apps/room_hermes/lib/room_hermes_web/controllers/resource_controller.ex
+0
−2
@@ -17,8 +17,6 @@ defmodule RoomHermesWeb.ResourceController do
| 17 | 17 | end |
| 18 | 18 | |
| 19 | 19 | defp decide("/", "queue", name, _permission) do |
| 20 | − IO.puts("qqq") | |
| 21 | − | |
| 22 | 20 | case name |> String.starts_with?("mqtt-subscription") do |
| 23 | 21 | true -> "allow" |
| 24 | 22 | false -> "deny" |
modified
apps/room_sanctum/lib/room_sanctum/workers/ankyra_worker.ex
+0
−2
@@ -237,8 +237,6 @@ defmodule RoomSanctum.Worker.Ankyra do
| 237 | 237 | end |
| 238 | 238 | |
| 239 | 239 | def handle_cast({:publish_img, data}, state) do |
| 240 | − IO.puts("and here") | |
| 241 | − | |
| 242 | 240 | case AMQP.Application.get_channel(:default) do |
| 243 | 241 | {:ok, chan} -> |
| 244 | 242 | AMQP.Basic.publish( |
Parents: 95bda40