Potential race condition? Really slow consumers may cause this.gate not to be updated.
Potential race condition? Really slow consumers may cause this.gate not to be updated.

By adding a sleep every so often, the upstream barrier can read the correct value.

smartystreets/go-disruptor,yxd-hde/go-disruptor,smartystreets/go-disruptor,yxd-hde/go-disruptor