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