-
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Describe the bug
It takes an additional servo.apply(servoConfig) to change idleTimeout and probably more values.
To Reproduce
Steps to reproduce the behavior:
neck = Runtime.start("neck", "Servo");
config = neck.getConfig();
# change should immediately affect servo
config.idleTimeout = 5000;
# legacy "mapping" to member vars requires "apply" to process
neck.apply(config);
# if the save was done without the apply neck's idle timeout would be 3000
neck.save();
Expected behavior
A clear and concise description of what you expected to happen.
config.idleTimeout = 5000;
neck.save()
# neck.yml idleTimeout should equal 5000 (without the need of apply)
Metadata
Metadata
Assignees
Labels
No labels