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

esqueue

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esqueue - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## v0.4.1
- Use `filter` instead of `must` to query for outstanding jobs
## v0.4.0

@@ -7,0 +11,0 @@

4

lib/worker.js

@@ -299,4 +299,4 @@ 'use strict';

bool: {
must: { term: { jobtype: this.jobtype } },
should: [{ term: { status: 'pending' } }, { bool: { must: [{ term: { status: 'processing' } }, { range: { process_expiration: { lte: nowTime } } }] }
filter: { term: { jobtype: this.jobtype } },
should: [{ term: { status: 'pending' } }, { bool: { filter: [{ term: { status: 'processing' } }, { range: { process_expiration: { lte: nowTime } } }] }
}]

@@ -303,0 +303,0 @@ }

{
"name": "esqueue",
"version": "0.4.0",
"version": "0.4.1",
"description": "Job queue, powered by Elasticsearch",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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