Skip to content

Commit fc2d157

Browse files
Update lib/Service/VerdictService.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7627490 commit fc2d157

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Service/VerdictService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ public function createAndConnectVaas(): Vaas {
211211
}
212212
}
213213
$options = new VaasOptions(
214-
useHashLookup: $this->appConfig->getValueBool(Application::APP_ID, 'hashlookup'),
215-
useCache: $this->appConfig->getValueBool(Application::APP_ID, 'cache'),
214+
useHashLookup: $this->appConfig->getValueBool(Application::APP_ID, 'hashlookup', true),
215+
useCache: $this->appConfig->getValueBool(Application::APP_ID, 'cache', true),
216216
vaasUrl: $this->vaasUrl,
217-
timeout: $this->appConfig->getValueInt(Application::APP_ID, 'timeout')
217+
timeout: $this->appConfig->getValueInt(Application::APP_ID, 'timeout', 300)
218218
);
219219
return Vaas::builder()
220220
->withAuthenticator($this->getAuthenticator($this->authMethod, $this->tokenEndpoint))

0 commit comments

Comments
 (0)