Skip to content

Commit

Permalink
Removed unneeded guard in
Browse files Browse the repository at this point in the history
  • Loading branch information
kieraneglin committed Nov 21, 2024
1 parent 8cc4783 commit b682b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pinchflat/sources/sources.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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}, _} ->
Expand Down

0 comments on commit b682b7d

Please sign in to comment.