aerospike-client-python icon indicating copy to clipboard operation
aerospike-client-python copied to clipboard

socket_timeout cannot be set to 0 in scan?

Open nomoonx opened this issue 5 years ago • 0 comments

what I did was

scan_handler=client.scan('my_namespace','my_set') res= scan_handler.results(policy={'socket_timeout':0})

and I got an error from here: https://github.com/aerospike/aerospike-client-c/blob/cfdfdd1d9048b4d85dbdff4f943e827f7feaf127/src/main/aerospike/as_socket.c#L466

if I don't set socket_timeout or set a positive number, I can get the result.

nomoonx avatar May 26 '20 01:05 nomoonx