-
Notifications
You must be signed in to change notification settings - Fork 52
* redis cache peer simple implementation, based on Memcached CachePeer #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Подозреваю, что в дифф попали изменения от предыдущего pull request |
есть немного ) по идее должны "уйти" после вмердживания watermark патча |
сделаю pull request заново |
// see $this->store() check type need | ||
// $packed = serialize($data); | ||
$packed = $data; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вот я не понял, почему в store() куча проверок, а в append мы сериализуем все подряд
Для него вообще не должно было работать. у меня и не работало.
$cache->set('a', 'a');
$this->assertEquals($cache->get('a'), 'a');
$cache->append('a', 'a');
$this->assertEquals($cache->get('a'), 'aa');
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а что в ассерте в этом примере получается?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я решил доработать тесты, там еще кое-что выползает ) так что сначала доработаю тесты, а потом уже видно будет
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
окей, подождем
пока откладывается до фиксов остальных кеш пиров |
|
@ents 1. Давайте переименуем. Только там что-то мелькало про приставку Socket для Memcached ну и для этого заодно. |
|
|
Сабж )