Skip to content

node/policy: Cache up to 1000 container policy application results

Codecov / codecov/patch succeeded Jul 11, 2024 in 0s

78.26% of diff hit (target 23.67%)

View this Pull Request on Codecov

78.26% of diff hit (target 23.67%)

Annotations

Check warning on line 54 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L54

Added line #L54 was not covered by tests

Check warning on line 62 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L62

Added line #L62 was not covered by tests

Check warning on line 83 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L83

Added line #L83 was not covered by tests

Check warning on line 92 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L92

Added line #L92 was not covered by tests

Check warning on line 103 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L103

Added line #L103 was not covered by tests

Check warning on line 130 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L130

Added line #L130 was not covered by tests

Check warning on line 142 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L142

Added line #L142 was not covered by tests

Check warning on line 150 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L150

Added line #L150 was not covered by tests

Check warning on line 159 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 166 in cmd/neofs-node/policy.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/policy.go#L166

Added line #L166 was not covered by tests