You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this is in the examples somewhere, but I was looking at converting a distributed locust test to goose and couldn't see any obvious way of sending custom messages from the manager to the worker.
I've typically used this to distribute some finite resource like a pre-created pool of credentials to workers.
I could do something like sending the pool to all workers and bucket the pool by worker number, but wondered if I'd just missed how to send custom messages.
The text was updated successfully, but these errors were encountered:
If this is something that you would be interested in accepting I could try and come up with a PR?
You're already using serd so it'd be a bit of work around the send_message loop in manager.rs, and I guess we'd need a trait for user messages as well as requiring them to be send/sync and Serialize / Deserialize.
Apologies if this is in the examples somewhere, but I was looking at converting a distributed locust test to goose and couldn't see any obvious way of sending custom messages from the manager to the worker.
I've typically used this to distribute some finite resource like a pre-created pool of credentials to workers.
I could do something like sending the pool to all workers and bucket the pool by worker number, but wondered if I'd just missed how to send custom messages.
The text was updated successfully, but these errors were encountered: