Documentation
¶
Overview ¶
Package hk provides mechanism for registering cleanup functions which are invoked at specified intervals.
- Copyright (c) 2023-2025, NVIDIA CORPORATION. All rights reserved.
Package hk provides mechanism for registering cleanup functions which are invoked at specified intervals.
- Copyright (c) 2018-2025, NVIDIA CORPORATION. All rights reserved.
Package hk provides mechanism for registering cleanup functions which are invoked at specified intervals.
- Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
Package hk provides mechanism for registering cleanup functions which are invoked at specified intervals.
- Copyright (c) 2018-2025, NVIDIA CORPORATION. All rights reserved.
Index ¶
Constants ¶
View Source
const ( // hk timers DelOldIval = 24 * time.Minute // cleanup old xactions; old transactions Prune2mIval = 2 * time.Minute // prune active xactions (from finished); cleanup notifs; remove aged idle SDM recv PruneRateLimiters = 6 * time.Hour // prune stale rate limiters on the front // // when things are getting _old_ // OldAgeXshort = time.Minute // x-lso, x-moss OldAgeX = time.Hour // all other xactions OldAgeNotif = 3 * time.Minute // old notifications OldAgeNotifLso = 10 * time.Second // note: seconds )
View Source
const ( DayInterval = 24 * time.Hour UnregInterval = 365 * DayInterval // to unregister upon return from the callback )
View Source
const NameSuffix = ".gc" // reg name suffix
Variables ¶
View Source
var HK *hk
singleton
Functions ¶
func WaitStarted ¶
func WaitStarted()
Types ¶
Click to show internal directories.
Click to hide internal directories.