gc

package
v0.17.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GC

type GC struct {
	// contains filtered or unexported fields
}

func NewGC

func NewGC(
	ms metascheduler.MetaScheduler,
	scheduler scheduler.Scheduler,
) *GC

func (*GC) FindAndCancelUnhandledJobs

func (gc *GC) FindAndCancelUnhandledJobs(
	ctx context.Context,
) (err error)

FindAndCancelUnhandledJobs matches jobs from the metascheduler to the scheduler.

Jobs that doesn't appear in squeue and is RUNNING on the metascheduler is considered as a zombie.

func (*GC) Loop

func (gc *GC) Loop(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL