@openstax/ts-utils 1.30.4 → 1.30.6

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.
@@ -67,6 +67,9 @@ const openSearchService = (initializer = {}) => (configProvider) => {
67
67
  body: params.body,
68
68
  id: params.id,
69
69
  refresh: true
70
+ }, {
71
+ requestTimeout: 10000,
72
+ maxRetries: 1,
70
73
  });
71
74
  };
72
75
  const bulkIndex = async (items) => {
@@ -78,6 +81,9 @@ const openSearchService = (initializer = {}) => (configProvider) => {
78
81
  item.body
79
82
  ]),
80
83
  refresh: true
84
+ }, {
85
+ requestTimeout: 10000,
86
+ maxRetries: 1,
81
87
  });
82
88
  };
83
89
  const search = async (options) => {