aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/internal/util/setrlimit_windows.go
blob: f2993c7af132972438047d3421632ac70a9e1540 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

//go:build windows

package util

type ResourceId int

const (
	RLIMIT_CORE ResourceId = iota
	RLIMIT_NOFILE
	RLIMIT_NPROC
	NO_RLIMIT uint64 = ^uint64(0)
)

func SetResourceLimit(resource ResourceId, max uint64) {
	// nop
}