concurrent

package
v0.1.3-0...-545a7b7 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MIT Imports: 3 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