zebra/zebra-grpc/src
Arya 5a9281a7a8
fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303)
* update scan task to notify subscribe caller once the new subscribed_keys are sent on the watch channel

* Fixes timing bug in scan gRPC method:

Joins register/subscribe scan service calls, sends SubscribeResults request first, and filters out duplicate results from channel

* Removes outdated TODO

* wraps subscribed_keys in an Arc before sending to watch channel, fixes typo

* Remove result senders for keys that have been removed
2024-02-21 23:29:13 +00:00
..
tests fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
lib.rs test(grpc): Add snapshots (#8277) 2024-02-16 19:41:04 +00:00
server.rs fix(scan): Fix minor concurrency bug in the `scan` gRPC method (#8303) 2024-02-21 23:29:13 +00:00
tests.rs tests(grpc): Unit tests (#8293) 2024-02-20 22:45:55 +00:00