Skip to content
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

Problem with persistent connection #37

Open
mkalafior opened this issue Mar 26, 2015 · 0 comments
Open

Problem with persistent connection #37

mkalafior opened this issue Mar 26, 2015 · 0 comments

Comments

@mkalafior
Copy link

When I'm using persistent connection from time to time (it's totally random) HMSET returns false instead of OK message even for same commends and arguments.

success

hmset:
resource(31, phpredis connection persistent)
array (size=12)
  0 => string 'HMSET' (length=5)
  1 => string 'zone:tablet:641' (length=15)
  2 => string 'product' (length=7)
  3 => string 'pd' (length=2)
  4 => string 'queue' (length=5)
  5 => string '10907' (length=5)
  6 => string 'fviews' (length=6)
  7 => string '0' (length=1)
  8 => string 'ftime' (length=5)
  9 => string '0' (length=1)
  10 => string 'subdomain' (length=9)
  11 => string 'ads' (length=3)
string 'OK' (length=2)

error

hmset:
resource(31, phpredis connection persistent)
array (size=12)
  0 => string 'HMSET' (length=5)
  1 => string 'zone:tablet:641' (length=15)
  2 => string 'product' (length=7)
  3 => string 'pd' (length=2)
  4 => string 'queue' (length=5)
  5 => string '10907' (length=5)
  6 => string 'fviews' (length=6)
  7 => string '0' (length=1)
  8 => string 'ftime' (length=5)
  9 => string '0' (length=1)
  10 => string 'subdomain' (length=9)
  11 => string 'ads' (length=3)
boolean false

Any idea why is this happening ?

Specs:

  • OSX 10.10
  • last development version of the Redis
  • hiredis 0.11.0
  • last development version of the phpiredis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant