Closed matianxing1992 closed 2 months ago
We need to add a new API to set default timeout time t and max retries number n. And for the retries, the timeout time would be t*2^n, which will allow a quicker retry at the beginning, and then wait for longer time for the incoming data in the end.
According to Consumer.cpp:267, the retrying interest will be dropped by NFDs because of the same nonce. Setting nonce to std::nullptr will simply solve this problem in my case. I'm not sure whether it's a bug or design.
Tianxing Ma