Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlogic committed Feb 3, 2024
1 parent f0b9824 commit 7fcec03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ In production, run `heroku logs -t | grep Judoscale`, and you should see somethi

> [Judoscale] Reporter starting, will report every 10 seconds
If you don't see either of these, ensure "judoscale-express" is in your `Package.lock` file, and restart your app.
If you don't see any Judoscale logging, check the following:

- Make sure "judoscale-express" is in your `Package.lock` file, and restart your app.
- Make sure Judoscale is one of the first middlewares for your app.

You can see more detailed (debug) logging by setting `JUDOSCALE_LOG_LEVEL` on your Heroku app:

Expand Down
2 changes: 2 additions & 0 deletions express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ npm install judoscale-express --save

2. Import and use the provided middleware:

**Judoscale should be one of the first middlewares for your app.**

```javascript
// ES6-style import:
import judoscale from 'judoscale-express'
Expand Down

1 comment on commit 7fcec03

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for ./express

St.
Category Percentage Covered / Total
🔴 Statements 58.62% 17/29
🔴 Branches 42.86% 3/7
🟡 Functions 75% 6/8
🔴 Lines 58.62% 17/29

Test suite run success

17 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from 7fcec03

Please sign in to comment.