mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-31 19:36:44 +01:00
increase reporting sensitivity again, too much
This commit is contained in:
parent
495396206e
commit
fdc6974384
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ defmodule Philomena.DuplicateReports do
|
||||||
def generate_reports(source) do
|
def generate_reports(source) do
|
||||||
source = Repo.preload(source, :intensity)
|
source = Repo.preload(source, :intensity)
|
||||||
|
|
||||||
duplicates_of(source.intensity, source.image_aspect_ratio, 0.5, 0.1)
|
duplicates_of(source.intensity, source.image_aspect_ratio, 0.2, 0.05)
|
||||||
|> where([i, _it], i.id != ^source.id)
|
|> where([i, _it], i.id != ^source.id)
|
||||||
|> Repo.all()
|
|> Repo.all()
|
||||||
|> Enum.map(fn target ->
|
|> Enum.map(fn target ->
|
||||||
|
|
Loading…
Reference in a new issue