[core] Remove hardcoded maximum duration of 24 hours in loadCacheValue (#3355)

This commit is contained in:
Eugene Molotov 2023-04-19 20:53:35 +05:00 committed by GitHub
parent a4a7473abb
commit 343fd36671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -159,7 +159,7 @@ class BugzillaBridge extends BridgeAbstract
protected function getUser($user)
{
// Check if the user endpoint is available
if ($this->loadCacheValue($this->instance . 'userEndpointClosed')) {
if ($this->loadCacheValue($this->instance . 'userEndpointClosed', 86400)) {
return $user;
}