OriginProtocol / ousd-analytics

Web application to pull statistics on OUSD from the blockchain.
8 stars 3 forks source link

Event-specific dedupe window #375

Closed shahthepro closed 1 year ago

shahthepro commented 1 year ago

DO NOT MERGE YET

Haven't tested this yet to be merge-ready. This is probably less-performant than the existing code (since the existing code did one big query whereas this does a get_or_create in a loop). However, we don't have that many events firing at once, so it should be fine