Skip to content

Commit

Permalink
Write must not ignore chosen worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadyita committed Mar 14, 2024
1 parent 9537e11 commit 11898e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Multi.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function login(): void {
}

public function write(Package\Out $package, ?string $worker=null): void {
$this->getBestWorker()?->write($package);
$this->getBestWorker($worker)?->write($package);
}

/** @return ConcurrentIterator<WorkerPackage> */
Expand Down

0 comments on commit 11898e5

Please sign in to comment.