From 742e4eee054939816ae4b260bd006348ea64a356 Mon Sep 17 00:00:00 2001 From: Karan Raina Date: Wed, 30 Oct 2024 19:54:35 +0530 Subject: [PATCH 1/2] chore: add downloads and upgrade node --- .github/workflows/npm-publish.yml | 4 ++-- README.md | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index baae13f..34c8b0f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - run: npm ci - run: npm test @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build diff --git a/README.md b/README.md index f964cec..92bbd6d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# ExpressJS Under Pressure +# ExpressJS Under Pressure [![Downloads](https://img.shields.io/npm/dm/express-under-pressure.svg)](https://npmjs.com/express-under-pressure) [![npm version](https://img.shields.io/npm/v/express-under-pressure.svg?style=flat)](https://www.npmjs.com/package/express-under-pressure) + +

+ + Twitter: karankraina + +

Monitor your server's health and automatically respond with a "Server Under Pressure" message when certain thresholds are exceeded. This is useful for maintaining server stability under heavy load. From cf9eb4e39797a280147eecc090455efb62c3f08a Mon Sep 17 00:00:00 2001 From: Karan Raina Date: Wed, 30 Oct 2024 19:58:14 +0530 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5fedbe6..baccdc6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "express-under-pressure", - "version": "0.3.1", + "version": "0.3.2", "description": "Express Under Pressure", "main": "lib/index.js", "type": "commonjs",