Skip to content

Commit e31692c

Browse files
committed
Lower default walk max-repetitions to safer value everywhere
Complements 218e83e
1 parent d55ee84 commit e31692c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transport/FallbackSnmpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static function (SnmpClient $client) use ($oids) : array {
4747
}
4848

4949
/** @inheritDoc */
50-
public function walk(string $oid, int $maxRepetitions = 40) : array
50+
public function walk(string $oid, int $maxRepetitions = 20) : array
5151
{
5252
return $this->tryClients(
5353
static function (SnmpClient $client) use ($oid, $maxRepetitions) : array {

0 commit comments

Comments
 (0)