@openstax/ts-utils 1.30.2 → 1.30.4

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.
@@ -18,7 +18,7 @@ const config_1 = require("../../config");
18
18
  const guards_1 = require("../../guards");
19
19
  const helpers_1 = require("../../misc/helpers");
20
20
  /* istanbul ignore next */
21
- const startServer = (0, helpers_1.once)((port, uploadDir) => {
21
+ const startServer = (0, helpers_1.memoize)((port, uploadDir) => {
22
22
  // TODO - re-evaluate the `preservePath` behavior to match whatever s3 does
23
23
  const upload = (0, multer_1.default)({ dest: uploadDir, preservePath: true });
24
24
  const fileServerApp = (0, express_1.default)();
@@ -32,7 +32,6 @@ const openSearchService = (initializer = {}) => (configProvider) => {
32
32
  sniffOnConnectionFault: true,
33
33
  sniffOnStart: true,
34
34
  resurrectStrategy: 'ping',
35
- agent: { keepAlive: false },
36
35
  node: await (0, config_1.resolveConfigValue)(config.node),
37
36
  }));
38
37
  return (indexConfig) => {