Skip to content

Commit

Permalink
Fix fastify dependency
Browse files Browse the repository at this point in the history
fastify should not be listed as both a dependency and peerDependency.
  • Loading branch information
adamlogic committed May 17, 2024
1 parent bda7894 commit 25c6866
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 19 deletions.
6 changes: 3 additions & 3 deletions fastify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ Once installed, you should see something like this in your development log:

> [Judoscale] Reporter not started: JUDOSCALE_URL is not set
In production, run `heroku logs -t | grep Judoscale`, and you should see something like this:
In your production app where you've installed Judoscale, you should see this in your logs:

> [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 either of these, ensure "judoscale-fastify" is in your `Package.lock` file, and restart your app.

You can see more detailed (debug) logging by setting `JUDOSCALE_LOG_LEVEL` on your Heroku app:
You can see more detailed (debug) logging by setting the environment variable `JUDOSCALE_LOG_LEVEL=debug` on your deployed application. Here's how you would do that on Heroku:

```
heroku config:set JUDOSCALE_LOG_LEVEL=debug
Expand Down
Loading

0 comments on commit 25c6866

Please sign in to comment.