account-lookup-service 17.11.2 → 17.12.0

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/src/lib/config.js CHANGED
@@ -115,7 +115,8 @@ const config = {
115
115
  port: RC.DATABASE.PORT,
116
116
  user: RC.DATABASE.USER,
117
117
  password: RC.DATABASE.PASSWORD,
118
- database: RC.DATABASE.DATABASE
118
+ database: RC.DATABASE.DATABASE,
119
+ ...RC.DATABASE.ADDITIONAL_CONNECTION_OPTIONS
119
120
  },
120
121
  maxPendingAcquire: RC.DATABASE.MAX_PENDING_ACQUIRE,
121
122
  pool: {
@@ -7,7 +7,7 @@
7
7
  "ADMIN_PORT": 4001,
8
8
  "API_PORT": 4002,
9
9
  "DATABASE": {
10
- "DIALECT": "mysql",
10
+ "DIALECT": "mysql2",
11
11
  "HOST": "mysql-als",
12
12
  "PORT": 3306,
13
13
  "USER": "account_lookup",
@@ -21,7 +21,8 @@
21
21
  "IDLE_TIMEOUT_MILLIS": 30000,
22
22
  "REAP_INTERVAL_MILLIS": 1000,
23
23
  "CREATE_RETRY_INTERVAL_MILLIS": 200,
24
- "DEBUG": false
24
+ "DEBUG": false,
25
+ "ADDITIONAL_CONNECTION_OPTIONS": {}
25
26
  },
26
27
  "PROTOCOL_VERSIONS": {
27
28
  "CONTENT": {