diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/RTSCallerCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/RTSCallerCEImpl.java index 812d54be31..1e0210f06b 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/RTSCallerCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/RTSCallerCEImpl.java @@ -22,7 +22,6 @@ import java.util.Map; import static com.appsmith.server.filters.MDCFilter.INTERNAL_REQUEST_ID_HEADER; import static com.appsmith.server.filters.MDCFilter.REQUEST_ID_HEADER; -import static org.apache.commons.lang3.StringUtils.isEmpty; @Component public class RTSCallerCEImpl implements RTSCallerCE { @@ -42,10 +41,6 @@ public class RTSCallerCEImpl implements RTSCallerCE { @PostConstruct private void makeWebClient() { - if (isEmpty(rtsPort)) { - rtsPort = "8091"; - } - final ConnectionProvider connectionProvider = ConnectionProvider.builder("rts-provider") .maxConnections(100) .maxIdleTime(Duration.ofSeconds(30)) diff --git a/app/server/appsmith-server/src/main/resources/application-ce.properties b/app/server/appsmith-server/src/main/resources/application-ce.properties index 712eed456c..829965bfbd 100644 --- a/app/server/appsmith-server/src/main/resources/application-ce.properties +++ b/app/server/appsmith-server/src/main/resources/application-ce.properties @@ -100,7 +100,7 @@ appsmith.plugin.response.size.max=${APPSMITH_PLUGIN_MAX_RESPONSE_SIZE_MB:5} appsmith.admin.envfile=${APPSMITH_ENVFILE_PATH:/appsmith-stacks/configuration/docker.env} # RTS port -appsmith.rts.port=${APPSMITH_RTS_PORT:} +appsmith.rts.port=${APPSMITH_RTS_PORT:8091} appsmith.internal.password=${APPSMITH_INTERNAL_PASSWORD:}