@rotorsoft/act 1.31.16 → 1.31.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -956,8 +956,8 @@ var InMemoryStore = class {
956
956
  } of streams) {
957
957
  const existing = this._streams.get(stream);
958
958
  if (existing) {
959
+ if (priority >= existing.priority) existing.lane = lane;
959
960
  existing.bump_priority(priority);
960
- existing.lane = lane;
961
961
  if (correlated_at2 !== void 0) existing.mark(correlated_at2);
962
962
  } else {
963
963
  const created = new InMemoryStream(stream, source, priority, lane);