Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit ca848af

Browse files
jvalkealilayaperumalg
authored andcommitted
Disable LRUResourceLoader caching on local server
- Overriding freeDiskSpacePercentage value in a local server application.yml. - Fixes #2087
1 parent 07679ec commit ca848af

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

spring-cloud-dataflow-docs/src/main/asciidoc/configuration.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,13 @@ spring.cloud.deployer.local.javaOpts= # The Java options to pass to the JVM
164164
spring.cloud.deployer.local.freeDiskSpacePercentage=5 # The target percentage of free disk space to always aim for when cleaning downloaded resources (typically via the local maven repository). Specify as an integer greater than zero and less than 100. Default is 5.
165165
----
166166

167+
[NOTE]
168+
====
169+
Data Flow Local server itself overrides
170+
`spring.cloud.deployer.local.freeDiskSpacePercentage` to `0` from its
171+
default value.
172+
====
173+
167174
When deploying the application, you can also set deployer properties prefixed with `deployer.<name of application>`. For example, to set Java options for the time application in the `ticktock` stream, use the following stream deployment properties.
168175
[source,bash]
169176
----

spring-cloud-dataflow-server-local/src/main/resources/application.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ info:
33
name: "@project.artifactId@"
44
description: "@project.name@"
55
version: "@project.version@"
6+
spring:
7+
cloud:
8+
deployer:
9+
local:
10+
free-disk-space-percentage: 0
611
#server:
712
# port: 8443
813
# ssl:

0 commit comments

Comments
 (0)