WIP: initial prototype
- Added client.close API - Added resurrect event - Improved resurrect ping strategy - Updated types
This commit is contained in:
6
lib/ConnectionPool.d.ts
vendored
6
lib/ConnectionPool.d.ts
vendored
@ -27,6 +27,12 @@ export interface getConnectionOptions {
|
||||
selector?: nodeSelectorFn;
|
||||
}
|
||||
|
||||
export interface ResurrectMeta {
|
||||
strategy: string;
|
||||
isAlive: boolean;
|
||||
connection: Connection;
|
||||
}
|
||||
|
||||
export default class ConnectionPool {
|
||||
static resurrectStrategies: {
|
||||
none: number;
|
||||
|
||||
Reference in New Issue
Block a user