Closed wenbinye closed 5 years ago
Redis storage adapter does not implements saveLastFailureTime,and loadLastFailureTime suppose the key is failureKey, instead of lastFailureKey, so always got null value.
failureKey
lastFailureKey
Change Ackintosh\Ganesha\Storage lastFailureKey as following works:
/** * @param string $service * @return string */ private function lastFailureKey($service) { return $this->supportRollingTimeWindow() ? $this->failureKey($service) : $this->prefix($service) . self::KEY_SUFFIX_LAST_FAILURE_TIME; }
@wenbinye Thanks for reporting the issue! I'll have a look this weekend. 😉
@wenbinye I've fixed the issue on #30. which is released as v0.2.2. Thank you again. 👍
Redis storage adapter does not implements saveLastFailureTime,and loadLastFailureTime suppose the key is
failureKey
, instead oflastFailureKey
, so always got null value.Change Ackintosh\Ganesha\Storage lastFailureKey as following works: