We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e3536 commit 148d936Copy full SHA for 148d936
src/LaunchDarkly/LDClient.php
@@ -81,15 +81,16 @@ protected function _make_client($options) {
81
'Content-Type' => 'application/json',
82
'User-Agent' => 'PHPClient/' . self::VERSION
83
],
84
+ 'debug' => true,
85
'timeout' => $options['timeout'],
86
'connect_timeout' => $options['connect_timeout']
87
]
88
]);
89
90
if (!isset($options['cache_storage'])) {
- $csOptions = [];
91
+ $csOptions = ['validate' => false];
92
} else {
- $csOptions = ['storage' => $options['cache_storage']];
93
+ $csOptions = ['storage' => $options['cache_storage'], 'validate' => false];
94
}
95
96
CacheSubscriber::attach($client, $csOptions);
0 commit comments