batch

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MessageName = "process_torrent_batch"

Variables

This section is empty.

Functions

func NewQueueJob

func NewQueueJob(msg MessageParams, options ...model.QueueJobOption) (model.QueueJob, error)

Types

type MessageParams

type MessageParams struct {
	InfoHashGreaterThan protocol.ID
	UpdatedBefore       time.Time
	ClassifyMode        processor.ClassifyMode
	ClassifierWorkflow  string
	ClassifierFlags     classifier.Flags
	ChunkSize           uint
	BatchSize           uint
	ContentTypes        []model.NullContentType
	Orphans             bool
}

func (MessageParams) ApisDisabled

func (p MessageParams) ApisDisabled() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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