infinite-industries / infinite

MIT License
5 stars 3 forks source link

Issue #473 -- Introduce Duplicate Detection Endpoint #475

Closed chriswininger closed 7 months ago

chriswininger commented 7 months ago

This introduces a strategy to detect when you are about to submit a duplicate event.

It's driven off of start times and venue ids.

We check to see if there are other events that have the same start time at the same venue.

If more than 50% of the proposed times start at the same time and location as an existing event then we treat that event as a possible duplicate of your event and return data back to the client about it.

Also included is a small one line change to our logger to help us get full traces for easier debugging in production.

image