Skip to content

Commit

Permalink
actually use value from options
Browse files Browse the repository at this point in the history
  • Loading branch information
benjirewis committed Dec 18, 2024
1 parent 4d29ba8 commit afcfbee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions robot/impl/local_robot.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ func newWithResources(
localModuleVersions: make(map[string]semver.Version),
ftdc: ftdcWorker,
}

// Use value of initializing from robot options.
r.initializing.Store(rOpts.initializing)

r.mostRecentCfg.Store(config.Config{})
var heartbeatWindow time.Duration
if cfg.Network.Sessions.HeartbeatWindow == 0 {
Expand Down

0 comments on commit afcfbee

Please sign in to comment.