Conversation
|
First thanks for your contribution. As there is many redis adapater in the wild (predis credis, php_redis), could you rename the Redis class to CRedis ? |
|
@lyrixx Thanks |
|
I don't see any others. |
|
@lyrixx ok, will rename redis class to CRedis for now. I will keep searching for any other ways. Thanks |
|
Hi @lyrixx Thanks |
There was a problem hiding this comment.
you never use $host, and $port, no need to save it.
|
@vamsiikrishna Do you have time to finish your PR ? |
|
@lyrixx I will try to complete this during weekend . Regards |
|
Hi @lyrixx , any chance you can review it again ? |
|
@vamsiikrishna sure. But there is still pending comment that should be addressed. After that, we will be OK ;) |
|
@beberlei sorry to bother you again |
| */ | ||
| public function increment($variable) | ||
| { | ||
| $this->credis_client->incr($variable); |
There was a problem hiding this comment.
https://redis.io/commands/incr/
Note: this is a string operation because Redis does not have a dedicated integer type. The string stored at the key is interpreted as a base-10 64 bit signed integer to execute the operation.
Once you reach the limit of 2 pow 63 + 1, you will get an error
No description provided.