Removed unneeded guard in
This commit is contained in:
parent
8cc4783fde
commit
b682b7d194
1 changed files with 1 additions and 1 deletions
|
|
@ -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}, _} ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue