concurrent

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dequeuer

Dequeuer limits running job count from a queue.

func LocalDequeuer added in v0.2.4

LocalDequeuer limits running job count from the same process.

Types

type DequeuerOptions

type DequeuerOptions struct {
	Client redis.UniversalClient
	Max    int64
	// contains filtered or unexported fields
}

DequeuerOptions defines how many jobs in the same queue can be running at the same time.

type LocalDequeuerOptions added in v0.2.4

type LocalDequeuerOptions struct {
	Max int64
	// contains filtered or unexported fields
}

LocalDequeuerOptions defines how many jobs on the same process can be running at the same time.

Jump to

Keyboard shortcuts

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