Skip to content

Commit a39c362

Browse files
authored
Fix wrong type of http_connect_timeout|http_timeout options (#721)
Co-authored-by: Gabriel Ostrolucký <[email protected]>
1 parent 2fa1f8e commit a39c362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ public function getConfigTreeBuilder(): TreeBuilder
135135
->booleanNode('send_default_pii')->end()
136136
->integerNode('max_value_length')->min(0)->end()
137137
->scalarNode('http_proxy')->end()
138-
->integerNode('http_connect_timeout')
138+
->floatNode('http_connect_timeout')
139139
->min(0)
140140
->info('The maximum number of seconds to wait while trying to connect to a server. It works only when using the default transport.')
141141
->end()
142-
->integerNode('http_timeout')
142+
->floatNode('http_timeout')
143143
->min(0)
144144
->info('The maximum execution time for the request+response as a whole. It works only when using the default transport.')
145145
->end()

0 commit comments

Comments
 (0)