Skip to content

Commit

Permalink
refactor: rename UnderPressureOptions into FastifyUnderPressureOptions (
Browse files Browse the repository at this point in the history
#229)

* refactor: depecrate UnderPressureOptions

* refactor - no need for deprecation
  • Loading branch information
jean-michelet authored Jul 29, 2024
1 parent b8d2809 commit b392b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ interface FastifyUnderPressureExports {
TYPE_EVENT_LOOP_UTILIZATION: 'eventLoopUtilization'
}

type FastifyUnderPressure = FastifyPluginAsync<fastifyUnderPressure.UnderPressureOptions> & FastifyUnderPressureExports
type FastifyUnderPressure = FastifyPluginAsync<fastifyUnderPressure.FastifyUnderPressureOptions> & FastifyUnderPressureExports

declare namespace fastifyUnderPressure {
export interface UnderPressureOptions {
export interface FastifyUnderPressureOptions {
maxEventLoopDelay?: number;
maxEventLoopUtilization?: number;
maxHeapUsedBytes?: number;
Expand Down

0 comments on commit b392b59

Please sign in to comment.