Skip to content
This repository was archived by the owner on May 14, 2022. It is now read-only.

Commit e7705f1

Browse files
committed
Removed timeout as we don't need it anymore.
(telegram-cli now always returns an error-code isntead of nothing)
1 parent 85a929c commit e7705f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Zyberspace/Telegram/Cli/RawClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public function __construct($remoteSocket)
4949
if ($this->_fp === false) {
5050
throw new ClientException('Could not connect to socket "' . $remoteSocket . '"');
5151
}
52-
stream_set_timeout($this->_fp, 1); //This way fgets() returns false if telegram-cli gives us no response.
5352
}
5453

5554
/**

0 commit comments

Comments
 (0)