Comments (2)
Instead of providing the paths in plugin options, we can also inspect the route options.
fastify.get('/bypass', {
config: {
underPressure: {
bypass: true
}
}
}, async function() {
return { ok: true }
})
from under-pressure.
That is what I was saying as well as my alternative solution above. So let's go with that solution then, since the alternative solution using route configs is maybe better.
EDIT: Anyway, I will pick up this item. This should be durable to do for me.
from under-pressure.
Related Issues (20)
- Histogram returning NaN HOT 7
- Allow passthrough of `exposeHeadRoute` route param HOT 2
- Setting logLevel option for status route has no effect HOT 6
- How to find out in a custom healthCheck whether the service is under pressure? HOT 3
- consider setTimeout instead of setInterval for polling HOT 13
- Make new release HOT 5
- Ambiguous supported versions documentation HOT 2
- bug when setting custom error handler
- Option for health check by default "healthy" HOT 5
- Achieve 100% test coverage
- An in-range update of @types/node is breaking the build 🚨 HOT 12
- Additional route options are not passed when exposing status route HOT 1
- Your .dependabot/config.yml contained invalid details HOT 1
- Use custom Error instance HOT 4
- How to hide it's default route created by exposeStatusRoute:'/live' in swagger ui. HOT 1
- Breaking fastify server! HOT 1
- use eventLoopUtilization if it is available HOT 9
- Custom function for process metrics HOT 6
- Allow custom response from healthCheck function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from under-pressure.