iver-wharf / wharf-api

Wharf backend written in Go
MIT License
1 stars 0 forks source link

Simplified log insertion #180

Closed applejag closed 2 years ago

applejag commented 2 years ago

Summary

Motivation

This reduces the complexity of wharf-api a lot, while giving up some performance.

It was a premature optimization anyway, and in the end it resulted in glitchy behaviour. We can look back at this PR later if we want a reference implementation later to add it back, but for now we stick with the one-SQL-query-per-insertion logic, which is much faster than we need anyway.