Skip to content

Commit

Permalink
docs: about settings rack timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ghassanmas committed Oct 11, 2022
1 parent 1d1844c commit 75fbfeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
SINATRA_ENV: staging
API_KEY: password
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
RACK_TIMEOUT_SERVICE_TIMEOUT: 20
services:
elasticsearch:
image: elasticsearch:7.8.0
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ By default Sinatra runs on port `4567`. If you'd like to use a different port pa
$ ruby app.rb -p 5678
Rake timeout configuration should be set as env varaiable, the default value is 15 second. to set to 20 second:

.. code-block::
$ RACK_TIMEOUT_SERVICE_TIMEOUT=20 ruby app.rb -p 5678
Running Tests
-------------
Expand Down

0 comments on commit 75fbfeb

Please sign in to comment.