Skip to content

Commit

Permalink
RSDK-9060: Fix docstring for FirstRunTimeout (#4533)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpertsov authored and hexbabe committed Nov 6, 2024
1 parent ba1a101 commit 59c7a89
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ type Module struct {
Environment map[string]string `json:"env,omitempty"`

// FirstRunTimeout is the timeout duration for the first run script.
// Setting this field to a zero value (e.g. 0 * [time.Second]) will
// set the first run timeout to the default value of 1 hour, which
// is equivalent to leaving this field unset. If you wish to set an
// immediate timeout you can set this field to a negative value.
// This field will only be applied if it is a positive value. Supplying a
// non-positive will set the first run timeout to the default value of 1 hour,
// which is equivalent to leaving this field unset. If you wish to set an
// immediate timeout you should set this field to a very small positive value
// such as "1ns".
FirstRunTimeout goutils.Duration `json:"first_run_timeout,omitempty"`

// Status refers to the validations done in the APP to make sure a module is configured correctly
Expand Down

0 comments on commit 59c7a89

Please sign in to comment.