Commit 1017ce6
committed
Refactor Transport service handlers
* Refactor Transport service handlers
This removes a lot of repetitive code where a service handler simply
copies the message, creates and adds the associated command to a command
queue.
Signed-off-by: Addisu Z. Taddese <[email protected]>
* Also refactor code for advertising services
Signed-off-by: Addisu Z. Taddese <[email protected]>
* Add back missing function
Signed-off-by: Addisu Z. Taddese <[email protected]>
* Update our usage of workerpools (#2995)
In `SimulationRunner`, we initialize a worker pool but we never actually
use it so it's pure overhead. In `ServerPrivate` we only use the
worker pool if there are multiple simulation runners, so we can optimize
for the most common use case of one runner.
Signed-off-by: Addisu Z. Taddese <[email protected]>
* Fix linter issues
Signed-off-by: Addisu Z. Taddese <[email protected]>
* Fix typo
Signed-off-by: Addisu Z. Taddese <[email protected]>
* Add missing constructor
Signed-off-by: Addisu Z. Taddese <[email protected]>
---------
Signed-off-by: Addisu Z. Taddese <[email protected]>UserCommands (#2996)1 parent 51353e4 commit 1017ce6
1 file changed
+114
-394
lines changed
0 commit comments