Skip to content

Commit

Permalink
force puma to work in single worker mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fiveNinePlusR committed Sep 22, 2024
1 parent 7b3ac44 commit b3ecc03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Override default Rails Port optionally
PORT=3000
MAPBOX_KEY=placeholder
WEB_CONCURRENCY=1
WEB_CONCURRENCY=0 # run in solo mode instead of clustering for development
AWS_SECRET_ACCESS_KEY=placeholder
AWS_ACCESS_KEY_ID=placeholder
AWS_PICTURE_PATH=https://s3.amazonaws.com/<replace with bucketname>/location_picture_xref/photo/:id/medium/:filename
Expand Down
2 changes: 1 addition & 1 deletion bin/debug
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /usr/bin/env sh

WEB_CONCURRENCY=1 bundle exec rdbg --open --nonstop bin/rails s
WEB_CONCURRENCY=0 bundle exec rdbg --open --nonstop bin/rails s

0 comments on commit b3ecc03

Please sign in to comment.