Skip to content

Rewrite the whole request listening/handling chain #72

Description

@jvyden

The entire chain of events from invoking the Listener to calling the main middleware is very confusing, even for someone like me who wrote the whole thing and should understand it. It was very hard to debug the fix for 36990eb (and the problem is still unknown...)

We need to reconsider how this flow should work to make it easier to parse. Additionally, it uses a lot of asynchronous calls which causes many headaches, so it should be synchronous like the rest of Bunkum.

The way it's currently implemented, worker threads don't actually mean anything since we just create new tasks on the task factory to handle each request, which is stupid.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions