Wrap operations in a configurable timeout and add method to verify the database connection
Signed-off-by: Marcus Eide <eide@spotify.com>
This commit is contained in:
Vendored
+2
@@ -52,6 +52,8 @@ export interface Config {
|
||||
keyFilename?: string;
|
||||
/** The path to use for the collection. Defaults to 'sessions' */
|
||||
path?: string;
|
||||
/** Timeout used for database operations. Defaults to 10000ms */
|
||||
timeout?: number;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user