Skip to content

Commit 65d78b6

Browse files
committed
data/lua: Drop _msecs from http client settings
They are now parsed via settings parser, which does not have msecs suffix.
1 parent 19bb9f2 commit 65d78b6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

data/lua.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,20 +130,20 @@ are not restricted.`
130130
type: 'boolean',
131131
text: `Never automatically retry requests.`
132132
},
133-
connect_backoff_time_msecs: {
133+
connect_backoff_time: {
134134
default: '100 msec',
135135
hash_arg: true,
136136
type: 'int',
137137
text: `Initial backoff time; doubled at each connection failure.`
138138
},
139-
connect_backoff_max_time_msecs: {
139+
connect_backoff_max_time: {
140140
default: '60000 msec',
141141
hash_arg: true,
142142
type: 'int',
143143
text: `Maximum backoff time.`
144144
},
145-
connect_timeout_msecs: {
146-
default: '<request_timeout_msecs>',
145+
connect_timeout: {
146+
default: '<request_timeout>',
147147
hash_arg: true,
148148
type: 'int',
149149
text: `Max time to wait for \`connect()\` (and SSL handshake) to finish before retrying.`
@@ -159,7 +159,7 @@ are not restricted.`
159159
type: 'int',
160160
text: `Maximum number of attempts for a request.`
161161
},
162-
max_auto_retry_delay_secs: {
162+
max_auto_retry_delay: {
163163
hash_arg: true,
164164
type: 'int',
165165
text: `
@@ -184,7 +184,7 @@ higher than the maximum attempts, not all IPs are tried.
184184
185185
If <= 1, all IPs are tried at most once.`
186186
},
187-
max_idle_time_msecs: {
187+
max_idle_time: {
188188
hash_arg: true,
189189
type: 'int',
190190
text: `
@@ -204,19 +204,19 @@ how many idle connections exist to that same service.`
204204
type: 'string',
205205
text: `Proxy URL to use, can include username and password.`
206206
},
207-
request_absolute_timeout_msecs: {
207+
request_absolute_timeout: {
208208
default: '0; no timeout',
209209
hash_arg: true,
210210
type: 'int',
211211
text: `Max total time to wait for HTTP request to finish, including retries and everything else.`
212212
},
213-
request_timeout_msecs: {
213+
request_timeout: {
214214
default: '60000 msec',
215215
hash_arg: true,
216216
type: 'int',
217217
text: `Max time to wait for HTTP response before retrying.`
218218
},
219-
soft_connect_timeout_msecs: {
219+
soft_connect_timeout: {
220220
default: '0; wait until current connection attempt finishes',
221221
hash_arg: true,
222222
type: 'int',

0 commit comments

Comments
 (0)