Open clone1018 opened 3 years ago
Oops, I think there should be a group_by here:
Looking into this more, it's not reproducible in development. It's likely the homepage generator script is either being run by two nodes, or the same node is running it twice!
worst case you can cap limit 6 after the query to chop off the end :) that would be the easiest fix as long as there isn't a major performance cost to doing a Repo.all
Shouldn't technically be possible, but it looks like we have a misconfigured query somewhere...