# mydb-reconnect **Repository Path**: mirrors_Automattic/mydb-reconnect ## Basic Information - **Project Name**: mydb-reconnect - **Description**: MyDB automatic reconnection plugin - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # This repository is no longer maintained mydb-reconnect ============== MyDB automatic reconnection plugin ## How to use ```js var db = require('mydb')('/'); var reconnect = require('mydb-reconnect'); reconnect(db, { connectTimeout: 5000 }); ``` ## API ### Reconnect(db, opts) Options: - `retryTimeout` how long to wait before reconnection attempts (`10000`) - `connectTimeout` how long after a connection attempt to give up (`10000`)