Skip to content

Convert the timeout parameter from an integer to a double value #1503

@Yangsx-1

Description

@Yangsx-1

Search before asking

  • I had searched in the issues and found no similar issues.

Motivation

In redis, the timeout parameter of commands like BLPOP is a double value, but in kvrocks, the parameter must be an integer.

Solution

We can change parseint in the Parse function into parsefloat.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions