service_manager: multi-instance suffix support (hero_codescalers / mycelium) #96
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracked from #90.
The upstream nu modules
service_codescalers.nuandservice_mycelium.nusupport N instances:<name>, actions:<name>_server,<name>_admin<name>_N, actions:<name>_server_N,<name>_admin_N<name>/rpc.sockvs<name>N/rpc.sockThe v2 port covers instance 0 only.
Fix: parameterize
HeroService::start(ctx, instance: u32)or add per-instance struct-impl factories. The trait change is a small one and worth doing for these two services.Limitation:in hero_codescalers.rs, mycelium.rs.