on main help sign in
fix: windows lint for number
8cae314Raphael Amorim
internal/lsp/watcher/rlimit_stub.go+1−1
@@ -8,5 +8,5 @@ func MaximizeOpenFileLimit() (int, error) {
8 // Windows and other non-Unix systems don't have file descriptor limits
8 // Windows and other non-Unix systems don't have file descriptor limits
9 // in the same way Unix systems do. Return a very high value to indicate
9 // in the same way Unix systems do. Return a very high value to indicate
10 // there's no practical limit to worry about.
10 // there's no practical limit to worry about.
11− return 10_000_000, nil // 10M handles - way more than any process would use
11+ return 10000000, nil // 10M handles - way more than any process would use
12}
12}