Skip to content

Commit

Permalink
Set reasonable select timeout
Browse files Browse the repository at this point in the history
git-svn-id: svn://netflint.net/xmpphp@76 ef36c318-a008-4979-b6e8-6b496270793b
  • Loading branch information
fritzy committed Mar 16, 2009
1 parent b968882 commit b576ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XMPPHP/XMLStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public function isDisconnected() {
* integer -> process for this amount of time
*/

private function __process($maximum=0) {
private function __process($maximum=5) {

$remaining = $maximum;

Expand Down

0 comments on commit b576ef9

Please sign in to comment.