Skip to content

Commit

Permalink
Remove unused values from che.properties and related code (eclipse-ch…
Browse files Browse the repository at this point in the history
…e#18202)

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
  • Loading branch information
skabashnyuk authored Oct 28, 2020
1 parent bedef83 commit 6576c36
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ public void configure(Binder binder) {
Multibinder<RequestProcessorConfigurationProvider.Configuration> configurationMultibinder =
Multibinder.newSetBinder(binder, RequestProcessorConfigurationProvider.Configuration.class);
configurationMultibinder.addBinding().to(CheMajorWebSocketEndpointConfiguration.class);
configurationMultibinder.addBinding().to(CheMinorWebSocketEndpointConfiguration.class);
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ che.api=http://${CHE_HOST}:${CHE_PORT}/api
# for major websocket interactions and messaging.
che.websocket.endpoint=ws://${CHE_HOST}:${CHE_PORT}/api/websocket

# Che websocket minor endpoint. Provides basic communication endpoint
# for minor websocket interactions and messaging.
che.websocket.endpoint_minor=ws://${CHE_HOST}:${CHE_PORT}/api/websocket-minor

# Projects are synchronized from the Che server into the machine running each
# workspace. This is the directory in the workspace runtime where the projects are mounted.
che.workspace.storage=${che.home}/workspaces

# Your projects are synchronized from the Che server into the machine running each
# workspace. This is the directory in the machine where your projects are placed.
Expand Down Expand Up @@ -89,9 +82,6 @@ che.workspace.java_options=-XX:MaxRAM=150m -XX:MaxRAMFraction=2 -XX:+UseParallel
# Maven command-line options added to JVMs running agents in workspaces.
che.workspace.maven_options=-XX:MaxRAM=150m -XX:MaxRAMFraction=2 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom

# Java command-line options added to the JVM running the Maven server.
che.workspace.maven_server_java_options=-XX:MaxRAM=128m -XX:MaxRAMFraction=1 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom

# RAM limit default for each machine that has no RAM settings in its environment.
# Value less or equal to 0 is interpreted as disabling the limit.
che.workspace.default_memory_limit_mb=1024
Expand Down Expand Up @@ -173,12 +163,6 @@ che.workspace.startup_debug_log_limit_bytes=10485760
# This configuration is mainly required for workspace idling when the OpenShift OAuth is enabled.
che.workspace.stop.role.enabled=true

### Templates

# Folder that contains JSON files with code templates and samples
che.template.storage=${che.home}/templates


### Authentication parameters

# Che has a single identity implementation, so this does not change the user experience.
Expand Down Expand Up @@ -212,26 +196,6 @@ che.oauth.openshift.verify_token_url= NULL
# a recurring schedule.
schedule.core_pool_size=10

# Everrest is a Java Web Services toolkit that manages JAX-RS & web socket communications
# Users should rarely need to configure this.
# Disable asynchronous mechanism that is embedded in everrest.
org.everrest.asynchronous=false

# Quantity of asynchronous requests which may be processed at the same time
org.everrest.asynchronous.pool.size=20

# Size of queue. If asynchronous request can't be processed after consuming it will be added in queue.
org.everrest.asynchronous.queue.size=500

# Timeout in minutes for request. If after timeout request is not done or client did not come yet to get result of request it may be discarded.
org.everrest.asynchronous.job.timeout=10

# Size of cache for waiting, running and ended request.
org.everrest.asynchronous.cache.size=1024

# Path to asynchronous service
org.everrest.asynchronous.service.path=/async/

# DB initialization and migration configuration
db.schema.flyway.baseline.enabled=true
db.schema.flyway.baseline.version=5.0.0.8.1
Expand Down Expand Up @@ -552,13 +516,6 @@ che.infra.openshift.trusted_ca_bundles_mount_path=/public-certs
# to allow clear identification.
che.infra.openshift.route.labels=NULL

# Single port mode wildcard domain host & port. nip.io is used by default
che.singleport.wildcard_domain.host=NULL
che.singleport.wildcard_domain.port=NULL

# Enable single port custom DNS without inserting the IP
che.singleport.wildcard_domain.ipless=false

### Experimental properties

# Next properties are subject to changes and removal, so do not rely on them in a stable Che assembly
Expand Down Expand Up @@ -644,17 +601,6 @@ che.core.jsonrpc.processor_core_pool_size=5
# Configuration of queue used to process Json RPC messages.
che.core.jsonrpc.processor_queue_capacity=100000

### Configuration of major "/websocket-minor" endpoint

# Maximum size of the JSON RPC processing pool
# in case if pool size would be exceeded message execution will be rejected
che.core.jsonrpc.minor_processor_max_pool_size=100

# Initial json processing pool. Minimum number of threads that used to process minor JSON RPC messages.
che.core.jsonrpc.minor_processor_core_pool_size=15

# Configuration of queue used to process Json RPC messages.
che.core.jsonrpc.minor_processor_queue_capacity=10000

# Port the the http server endpoint that would be exposed with Prometheus metrics
che.metrics.port=8087
Expand Down

0 comments on commit 6576c36

Please sign in to comment.