docs: document yutong launchctl mqtt tuning
This commit is contained in:
@@ -133,6 +133,21 @@ class PortainerComposeResourceLimitsTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void localLaunchctlReadmeDocumentsYutongMqttProductionTuning() throws IOException {
|
||||
String readme = Files.readString(repositoryRoot()
|
||||
.resolve("deploy/local/launchctl/README.md"));
|
||||
|
||||
assertThat(readme)
|
||||
.contains("export YUTONG_MQTT_KEEP_ALIVE_SECONDS='20'")
|
||||
.contains("export YUTONG_MQTT_CONNECTION_TIMEOUT_SECONDS='10'")
|
||||
.contains("export YUTONG_MQTT_TLS_CA_PEM=''")
|
||||
.contains("export YUTONG_MQTT_TLS_CLIENT_PEM=''")
|
||||
.contains("export YUTONG_MQTT_TLS_CLIENT_KEY=''")
|
||||
.contains("export YUTONG_MQTT_TLS_HOSTNAME_VERIFICATION_ENABLED='true'")
|
||||
.contains("keepAlive、连接超时和 TLS PEM 参数");
|
||||
}
|
||||
|
||||
@Test
|
||||
void localLaunchctlTemplatesCoverActiveProductionApps() throws IOException {
|
||||
Path launchctl = repositoryRoot().resolve("deploy/local/launchctl");
|
||||
|
||||
Reference in New Issue
Block a user