@contember/engine-server 2.2.0-alpha.19 → 2.2.0-alpha.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/engine-server",
3
- "version": "2.2.0-alpha.19",
3
+ "version": "2.2.0-alpha.20",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/production/index.js",
6
6
  "typings": "./dist/types/index.d.ts",
@@ -23,12 +23,12 @@
23
23
  }
24
24
  },
25
25
  "dependencies": {
26
- "@contember/engine-actions": "2.2.0-alpha.19",
27
- "@contember/engine-http": "2.2.0-alpha.19",
28
- "@contember/engine-panel": "2.2.0-alpha.19",
29
- "@contember/engine-plugins": "2.2.0-alpha.19",
30
- "@contember/engine-s3-plugin": "2.2.0-alpha.19",
31
- "@contember/engine-vimeo-plugin": "2.2.0-alpha.19",
26
+ "@contember/engine-actions": "2.2.0-alpha.20",
27
+ "@contember/engine-http": "2.2.0-alpha.20",
28
+ "@contember/engine-panel": "2.2.0-alpha.20",
29
+ "@contember/engine-plugins": "2.2.0-alpha.20",
30
+ "@contember/engine-s3-plugin": "2.2.0-alpha.20",
31
+ "@contember/engine-vimeo-plugin": "2.2.0-alpha.20",
32
32
  "graphql": "^16.13.1",
33
33
  "pg": "^8.20.0"
34
34
  },
package/src/start.ts CHANGED
@@ -131,6 +131,8 @@ process.on('warning', message => {
131
131
  terminationJobs.push(async () => {
132
132
  await (await httpServerPromise).close()
133
133
  logger.info('API server terminated')
134
+ // after the server, so the requests it finished are written
135
+ await container.contentRequestLog?.close()
134
136
  })
135
137
  await httpServerPromise
136
138
  }