• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Permify / permify / 12824798363

17 Jan 2025 07:45AM UTC coverage: 79.935% (+0.02%) from 79.916%
12824798363

push

github

web-flow
Merge pull request #1918 from Permify/dependabot/maven/sdk/java/grpc/io.grpc-grpc-core-1.69.1

build(deps): bump io.grpc:grpc-core from 1.69.0 to 1.69.1 in /sdk/java/grpc

8167 of 10217 relevant lines covered (79.94%)

120.13 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/internal/storage/postgres/gc/options.go
1
package gc
2

3
import (
4
        "time"
5
)
6

7
// Option represents a function that configures a GC (Garbage Collector) instance.
8
type Option func(gc *GC)
9

10
// Interval is an option that sets the interval duration for the GC.
11
func Interval(n time.Duration) Option {
×
12
        return func(gc *GC) {
×
13
                gc.interval = n
×
14
        }
×
15
}
16

17
// Window is an option that sets the window duration for the GC.
18
func Window(n time.Duration) Option {
1✔
19
        return func(gc *GC) {
2✔
20
                gc.window = n
1✔
21
        }
1✔
22
}
23

24
// Timeout is an option that sets the timeout duration for the GC.
25
func Timeout(n time.Duration) Option {
×
26
        return func(gc *GC) {
×
27
                gc.timeout = n
×
28
        }
×
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc