agrs-sequelize-sdk 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -39,17 +39,14 @@ class DBModels {
39
39
  handleDisconnects: true, // Add automatic handling of disconnected connections
40
40
  },
41
41
  retry: {
42
+ // Add retry logic for failed connections
42
43
  max: 3,
43
- timeout: 6000, // Increase timeout to 60 seconds
44
+ timeout: 30000,
44
45
  match: [
45
46
  /Connection terminated/,
46
47
  /Connection timed out/,
47
48
  /Operation timeout/,
48
- /unknown timed out/,
49
- /TimeoutError/,
50
49
  ],
51
- backoffBase: 1000,
52
- backoffExponent: 1.5,
53
50
  },
54
51
  }
55
52
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",