@cubejs-backend/mssql-driver 0.30.25 → 0.30.39

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.30.39](https://github.com/cube-js/cube.js/compare/v0.30.38...v0.30.39) (2022-07-25)
7
+
8
+ **Note:** Version bump only for package @cubejs-backend/mssql-driver
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.30.34](https://github.com/cube-js/cube.js/compare/v0.30.33...v0.30.34) (2022-07-12)
15
+
16
+ **Note:** Version bump only for package @cubejs-backend/mssql-driver
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.30.30](https://github.com/cube-js/cube.js/compare/v0.30.29...v0.30.30) (2022-07-05)
23
+
24
+
25
+ ### Features
26
+
27
+ * centralized concurrency setting ([#4735](https://github.com/cube-js/cube.js/issues/4735)) ([1c897a1](https://github.com/cube-js/cube.js/commit/1c897a13c62049e23d26009351622b2a93c0a745))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [0.30.25](https://github.com/cube-js/cube.js/compare/v0.30.24...v0.30.25) (2022-06-16)
7
34
 
8
35
  **Note:** Version bump only for package @cubejs-backend/mssql-driver
@@ -13,6 +13,13 @@ const MSSqlToGenericType = {
13
13
  }
14
14
 
15
15
  class MSSqlDriver extends BaseDriver {
16
+ /**
17
+ * Returns default concurrency value.
18
+ */
19
+ static getDefaultConcurrency() {
20
+ return 2;
21
+ }
22
+
16
23
  constructor(config) {
17
24
  super();
18
25
  this.config = {
@@ -29,7 +36,7 @@ class MSSqlDriver extends BaseDriver {
29
36
  useUTC: false
30
37
  },
31
38
  pool: {
32
- max: 8,
39
+ max: config.maxPoolSize || 8,
33
40
  min: 0,
34
41
  evictionRunIntervalMillis: 10000,
35
42
  softIdleTimeoutMillis: 30000,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cubejs-backend/mssql-driver",
3
3
  "description": "Cube.js MS SQL database driver",
4
4
  "author": "Cube Dev, Inc.",
5
- "version": "0.30.25",
5
+ "version": "0.30.39",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cube-js/cube.js.git",
@@ -13,12 +13,12 @@
13
13
  },
14
14
  "main": "driver/MSSqlDriver.js",
15
15
  "dependencies": {
16
- "@cubejs-backend/query-orchestrator": "^0.30.25",
16
+ "@cubejs-backend/query-orchestrator": "^0.30.39",
17
17
  "mssql": "^6.1.0"
18
18
  },
19
19
  "license": "Apache-2.0",
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
23
- "gitHead": "fcbfc6901ed8abb67729da562e830fe9f957a004"
23
+ "gitHead": "d73133d5d44fcd5dfcd1b830263806b10184c6ab"
24
24
  }