Skip to content

Commit

Permalink
#232 Increase threshold for case similarity
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jun 9, 2017
1 parent d3dc391 commit 59a9b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thehive-backend/app/services/CaseSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class CaseSrv @Inject() (
"status" ~= "Ok"), Some("all"), Nil)
._1
.flatMapConcat { artifact artifactSrv.findSimilar(artifact, Some("all"), Nil)._1 }
.groupBy(20, _.parentId)
.groupBy(100, _.parentId)
.map { a (a.parentId, Seq(a)) }
.reduce((l, r) (l._1, r._2 ++ l._2))
.mergeSubstreams
Expand Down

0 comments on commit 59a9b89

Please sign in to comment.