redis-rdb-tools icon indicating copy to clipboard operation
redis-rdb-tools copied to clipboard

question - is it possible to get the progress of the parser

Open avnerbarr opened this issue 7 years ago • 1 comments

I'm looking for a callback hook to know how much progress (i.e. bytes out of total) the parser has completed. Is this possible ?

avnerbarr avatar Jun 21 '18 11:06 avnerbarr

it's a nice idea for improvement (feel free to PR).

meanwhile, if you use the parse_fd() function, it should be easy to 'tell' the current offset from any callback using lseek(fd, 0, SEEK_CUR);

oranagra avatar Jun 21 '18 11:06 oranagra