Skip to content

Commit b430002

Browse files
committed
Update PHP-Quiche
1 parent e0adc61 commit b430002

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

PMUtils.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace libproxy;
44

5-
use Exception;
65
use pocketmine\network\mcpe\convert\TypeConverter;
76
use pocketmine\network\mcpe\EntityEventBroadcaster;
87
use pocketmine\network\mcpe\PacketBroadcaster;

ProxyServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private function sendToMainBuffer(int $streamIdentifier, ProxyPacket $pk): void
233233

234234
public function tickProcessor(): void
235235
{
236-
$this->serverSocket->selectSockets(50);
236+
$this->serverSocket->selectSockets($this->serverSocket->timer->getNextTimeout());
237237
}
238238

239239
private function pushSockets(): void

0 commit comments

Comments
 (0)