@openstax/ts-utils 1.30.5 → 1.30.7

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