Skip to content

Commit 3bc2f38

Browse files
authored
Merge pull request #1088 from cloudfoundry/fix-jruby-health-check-timeout
Increase health check timeout for JRuby Sinatra app
2 parents e741ba9 + 366c768 commit 3bc2f38

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: bundle exec rackup config.ru -o 0.0.0.0 -p $PORT
1+
web: echo "Starting JRuby Sinatra app on port $PORT..." && bundle exec rackup config.ru -o 0.0.0.0 -p $PORT
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
---
22
applications:
33
- name: sinatra_jruby_web_app
4+
health-check-type: process
5+
timeout: 180

0 commit comments

Comments
 (0)