Skip to content

Conversation

@Molter73
Copy link
Contributor

@Molter73 Molter73 commented Oct 7, 2024

Move most logic from the main function into a new run function, this is a bit more idiomatic.

Replaced the Worker trait with a Worker enum, this prevents dynamic dispatching and should make the code a bit easier to follow.

Configuration overall has been simplified for all workers by removing unneeded intermediate structs and rearranging some fields. Generation of port ranges for the endpoint workload is also simpler.

@Molter73 Molter73 marked this pull request as draft October 7, 2024 14:55
@Molter73 Molter73 marked this pull request as ready for review October 7, 2024 15:31
@Molter73 Molter73 requested a review from erthalion October 7, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant