File tree Expand file tree Collapse file tree 1 file changed +20
-24
lines changed Expand file tree Collapse file tree 1 file changed +20
-24
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,26 @@ export interface IsotopeClientItemList {
54
54
next ?: string /* Pagination token */
55
55
}
56
56
57
+ /* ----------------------------------------------------------------------------
58
+ * Values
59
+ * ------------------------------------------------------------------------- */
60
+
61
+ /**
62
+ * Default client options
63
+ *
64
+ * We're not using the exponential backoff strategy (as recommended) due to the
65
+ * observations made in this article: https://bit.ly/2AJQiNV
66
+ */
67
+ const defaultOptions : Required < IsotopeClientOptions > = {
68
+ consistent : false ,
69
+ retry : {
70
+ minTimeout : 100 ,
71
+ maxTimeout : 250 ,
72
+ retries : 3 ,
73
+ factor : 1
74
+ }
75
+ }
76
+
57
77
/* ----------------------------------------------------------------------------
58
78
* Functions
59
79
* ------------------------------------------------------------------------- */
@@ -87,30 +107,6 @@ export function retryable<T>(
87
107
} )
88
108
}
89
109
90
- /* ----------------------------------------------------------------------------
91
- * Values
92
- * ------------------------------------------------------------------------- */
93
-
94
- /**
95
- * Default client options
96
- *
97
- * We're not using the exponential backoff strategy (as recommended) due to the
98
- * observations made in this article: https://bit.ly/2AJQiNV
99
- */
100
- const defaultOptions : Required < IsotopeClientOptions > = {
101
- consistent : false ,
102
- retry : {
103
- minTimeout : 100 ,
104
- maxTimeout : 250 ,
105
- retries : 3 ,
106
- factor : 1
107
- }
108
- }
109
-
110
- /* ----------------------------------------------------------------------------
111
- * Functions
112
- * ------------------------------------------------------------------------- */
113
-
114
110
/**
115
111
* Map a dictionary to a list of SimpleDB attributes
116
112
*
You can’t perform that action at this time.
0 commit comments