google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

Optimize subscriber lease actions

Open dbolduc opened this issue 1 month ago • 0 comments

For example, in LeaseState::shutdown(), we ack messages, and we nack messages. This can take two different RPCs. We should spawn tasks for each of these actions, and await them concurrently.

This also applies to LeaseState::flush(), which should not block the lease event loop.

dbolduc avatar Dec 03 '25 17:12 dbolduc