{"library":"node-mysql-deadlock-retries","type":"library","category":null,"description":"Provides retry capabilities for node-mysql queries that fail with MySQL deadlock errors (errno 1205-1213, ER_LOCK_DEADLOCK, ERR_LOCK_WAIT_TIMEOUT). It proxies the connection's query method, retrying failed queries up to a configurable number of times with random sleep intervals between retries. Version 2.0.5, stable, low release cadence (last update 2017). Differentiator: simple, focused deadlock handling for the node-mysql driver, vs. generic retry libraries.","language":"javascript","status":"maintenance","version":"2.0.5","tags":["javascript","mysql","deadlock"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install node-mysql-deadlock-retries","imports":["const proxyDeadlock = require('node-mysql-deadlock-retries');","const proxyMysqlDeadlockRetries = require('node-mysql-deadlock-retries');","proxyMysqlDeadlockRetries(connection, retries, minMillis, maxMillis, debug, show_all_errors);"]},{"cmd":"yarn add node-mysql-deadlock-retries","imports":[]},{"cmd":"pnpm add node-mysql-deadlock-retries","imports":[]}],"homepage":"https://github.com/happilymarrieddad/node-mysql-deadlock-retries2","github":"https://github.com/happilymarrieddad/node-mysql-deadlock-retries2","docs":null,"changelog":null,"pypi":null,"npm":"node-mysql-deadlock-retries","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}