From b682b7d1941bfcf4d558e801b4d051bf4fb54000 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Thu, 21 Nov 2024 14:35:45 -0800 Subject: [PATCH] Removed unneeded guard in --- lib/pinchflat/sources/sources.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pinchflat/sources/sources.ex b/lib/pinchflat/sources/sources.ex index a7da1369..ecbe7d41 100644 --- a/lib/pinchflat/sources/sources.ex +++ b/lib/pinchflat/sources/sources.ex @@ -333,7 +333,7 @@ defmodule Pinchflat.Sources do {%{enabled: true}, %{index_frequency_minutes: mins}} when mins > 0 -> SlowIndexingHelpers.kickoff_indexing_task(source) - {%{index_frequency_minutes: mins}, _} when mins <= 0 -> + {%{index_frequency_minutes: _}, _} -> SlowIndexingHelpers.delete_indexing_tasks(source, include_executing: true) {%{enabled: false}, _} ->