c7847e9677
This commit updates the WaitFor StatusFilterParams to add a Limit field, and reworks the waiting logic to simplify it. The Limit parameter causes WaitFor to return successfully when N number of peers have reached the target status, regardless of what other statuses are (as long as they are not errors) Other than that, the function logic should remain the same, blocking until all statuses are the target, with a special case about target-Pinned, which causes Remote statuses to be ignored. |
||
---|---|---|
.. | ||
ipfsproxy | ||
pb | ||
rest | ||
add_test.go | ||
add.go | ||
types_test.go | ||
types.go | ||
util.go |