Skip to content

Commit cf0587b

Browse files
committed
fix(docs): soften hot-reload startup warning to not overstate causation
RUN-4780 review (luismalamoc, section 2): resources.groovy defines the lang:groovy bean for every .groovy in libext unconditionally, and Spring eagerly instantiates non-lazy singletons at context startup regardless of refresh-check-delay. A broken/empty .groovy file can break startup whether or not plugin.refreshDelay is set - the warning no longer implies the risk is exclusive to enabling it.
1 parent 68cb382 commit cf0587b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/developer/groovy-plugin-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ plugin.refreshDelay=5000
641641
See [Config File Reference](/administration/configuration/config-file-reference.md) for its location per installation type. Alternatively, set it as a JVM system property via `RDECK_JVM_OPTS` - see [System Properties Configuration](/administration/configuration/system-properties.md).
642642

643643
::: warning Hot Reloading Caveat
644-
Enabling `plugin.refreshDelay` makes Rundeck watch every Groovy plugin in `libext`, not just the one you're editing. If any of those files is empty or fails to evaluate, the application can fail to start. Verify your `libext` directory doesn't contain broken or empty `.groovy` files before enabling this in a shared environment.
644+
Broken or empty `.groovy` files in `libext` can prevent Rundeck from starting, regardless of whether `plugin.refreshDelay` is set. Enabling `plugin.refreshDelay` extends periodic refresh-checking to every Groovy plugin in `libext`, not just the one you're editing - verify the whole directory is clean before enabling this in a shared environment.
645645
:::
646646

647647
### Debugging

0 commit comments

Comments
 (0)