Closed aumetra closed 2 months ago
This will also get a revamp of parts of the OAuth2 code which is a bit horribly organized.
kitsune-messaging
is completely underutilized. Either we fix this up soon or we remove it.
I'd even opt to remove it for now. We don't need it yet. And in its current state, it's not really fit for usage anyway.
Removed kitsune-messaging
for now. We gotta re-add it once we implement WebSocket stuff for the streaming API.
But until then, bye bye!
(well, damn. Of course coverage increases if we delete ~1k LoC)
Closes #500
So, for the beginning I simply collapsed all the enum cases into a single "Other" case which has the representations of
eyre::Report
which is fairly compact from a memory usage standpoint.That will drop the stack usage of errors down significantly (by at least 4x).
I'm still not convinced whether this is the correct solution.