Skip to content

Commit

Permalink
chore: update dependencies and update health check report
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 1, 2020
1 parent 25b8231 commit acebe22
Show file tree
Hide file tree
Showing 6 changed files with 1,041 additions and 9 deletions.
3 changes: 2 additions & 1 deletion adonis-typings/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
declare module '@ioc:Adonis/Addons/Redis' {
import Emittery from 'emittery'
import { EventEmitter } from 'events'
import { HealthReportEntry } from '@ioc:Adonis/Core/HealthCheck'
import { Redis, RedisOptions, ClusterOptions, Cluster, NodeRole } from 'ioredis'

/**
Expand Down Expand Up @@ -211,7 +212,7 @@ declare module '@ioc:Adonis/Addons/Redis' {
/**
* Returns the healthcheck report
*/
report (): Promise<{ health: { healthy: boolean, message: string }, meta: ReportNode[] }>
report (): Promise<HealthReportEntry & { meta: ReportNode[] }>

/**
* Quit a named connection.
Expand Down
Loading

0 comments on commit acebe22

Please sign in to comment.