mastodon / flodgatt

A blazingly fast drop-in replacement for the Mastodon streaming API server
GNU Affero General Public License v3.0
87 stars 7 forks source link

Reorganize code, pt1 #110

Closed codesections closed 4 years ago

codesections commented 4 years ago

This PR is part 1 of a code reorganization/simplification effort that flattens the call graph and significantly simplifies the code structure. This is a change that could be made during the RC stage – it's not adding any functionality – but, as with #107, it may make sense to do it now just so there are fewer changes to the code under test during the RC period.

This PR also fixes a minor bug I located along the way: the previous handling of Redis namespaces would have yielded the wrong messages when two namespaces with the same length existed. This is now fixed.