Skip to content

Commit

Permalink
Merge pull request #783 from NREL/redis-config
Browse files Browse the repository at this point in the history
set redis--maxclients 40000; default is 10000
  • Loading branch information
brianlball authored Aug 14, 2024
2 parents 489e18a + 6ad923b commit 2c150c7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker-compose.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
image: redis:6.0.9
ports:
- "6379:6379"
command: "redis-server --requirepass ${REDIS_PASSWORD}"
command: "redis-server --requirepass ${REDIS_PASSWORD} --maxclients 40000"
web:
image: nrel/openstudio-server:latest
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
image: redis:6.0.9
ports:
- "6379:6379"
command: "redis-server --requirepass ${REDIS_PASSWORD}"
command: "redis-server --requirepass ${REDIS_PASSWORD} --maxclients 40000"
web:
image: 127.0.0.1:5000/openstudio-server
build:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
image: redis:6.0.9
ports:
- "6379:6379"
command: "redis-server --requirepass ${REDIS_PASSWORD}"
command: "redis-server --requirepass ${REDIS_PASSWORD} --maxclients 40000"
web:
image: nrel/openstudio-server:latest
build:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
image: redis:6.0.9
ports:
- "6379:6379"
command: "redis-server --requirepass ${REDIS_PASSWORD}"
command: "redis-server --requirepass ${REDIS_PASSWORD} --maxclients 40000"
web:
image: nrel/openstudio-server:latest
build:
Expand Down
2 changes: 1 addition & 1 deletion docker/server/start-web-background.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ echo "Waiting for Redis to start"

#cd /opt/openstudio/server && bundle exec rake environment resque:work
echo "Startup two resque workers"
cd /opt/openstudio/server && COUNT=4 bundle exec rake environment resque:workers
cd /opt/openstudio/server && COUNT=5 bundle exec rake environment resque:workers
2 changes: 1 addition & 1 deletion local_setup_scripts/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
resources:
reservations:
cpus: "1"
command: "redis-server --requirepass openstudio"
command: "redis-server --requirepass openstudio --maxclients 40000"
web:
image: 127.0.0.1:5000/openstudio-server
ports:
Expand Down
2 changes: 1 addition & 1 deletion local_setup_scripts/win64/docker-compose-mock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
placement:
constraints:
- node.role == manager
command: "redis-server --requirepass openstudio"
command: "redis-server --requirepass openstudio --maxclients 40000"
web:
image: 127.0.0.1:5000/openstudio-server
ports:
Expand Down
2 changes: 1 addition & 1 deletion local_setup_scripts/win64/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
placement:
constraints:
- node.role == manager
command: "redis-server --requirepass openstudio"
command: "redis-server --requirepass openstudio --maxclients 40000"
web:
image: 127.0.0.1:5000/openstudio-server
ports:
Expand Down

0 comments on commit 2c150c7

Please sign in to comment.