Updated fdmax.set with UnixMax value from v0.0.2
parent
72502b1819
commit
afcc4b0223
|
@ -42,7 +42,7 @@ func NewRunner(options *Options) (*Runner, error) {
|
||||||
func (r *Runner) RunEnumeration(ctx context.Context) error {
|
func (r *Runner) RunEnumeration(ctx context.Context) error {
|
||||||
// Increase the OS file descriptors
|
// Increase the OS file descriptors
|
||||||
if r.options.FdMax {
|
if r.options.FdMax {
|
||||||
err := fdmax.Set(fdmax.Max)
|
err := fdmax.Set(fdmax.UnixMax)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue