Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kue-concierge

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kue-concierge

cleanup utility for kue

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
increased by450%
Maintainers
1
Weekly downloads
 
Created
Source

kue-concierge

A utility to keep your kue tidy

Usage

var kue = require('kue');
this.queue = kue.createQueue(config);
var Concierge = require('kue-concierge');
var concierge = new Concierge(this.queue, options);

Restart stuck jobs

concierge.restartStuck()

Clear complete jobs

concierge.clearComplete()

Clear failed jobs

concierge.clearFailed()

Options

{
	maxFailedTime: 10 * 24 * 60 * 60 * 1000; // 10 days,
	maxActiveTime: 2 * 60 * 60 * 1000; // 2 hours
	maxCompleteTime: 2 * 24 * 60 * 60 * 1000; // 2 days
};

Inspiration

https://github.com/Automattic/kue/issues/58

https://github.com/darielnoel/kue-cleanup

Keywords

FAQs

Package last updated on 01 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc