Closed elijaharita closed 2 years ago
@hannahhoward the poll function's call chain goes back to the retrieve function, which has a high probability of being canceled. before this change, if the retrieval that initiated the pruner poll operation was canceled, it would cause the prune to be canceled as well because of the shared context, which doesn't make sense since the prune operation shouldn't care what the original caller is doing since it's running independently in a parallel goroutine.