Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
don't limit the number of FDs on Windows (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Jul 3, 2022
1 parent f704ffd commit 9320db8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sys_not_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !linux && !darwin
//go:build !linux && !darwin && !windows

package rcmgr

Expand Down
11 changes: 11 additions & 0 deletions sys_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//go:build windows

package rcmgr

import (
"math"
)

func getNumFDs() int {
return math.MaxInt
}

0 comments on commit 9320db8

Please sign in to comment.