concurrent

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dequeuer

func Dequeuer(copt *DequeuerOptions) work.DequeueMiddleware

Dequeuer limits running job count from a queue.

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.

Jump to

Keyboard shortcuts

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