New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amqp-queue

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqp-queue

Amqp job queue with job status query over Redis

  • 1.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

Use redis store job status, and the data is only used to monitor the job, Use amqp protocol to route/persistant message

  1. On queue setup, it will subscribe the complete/error/progress queue
  2. When saving a job, it will be published to "main" queue, and also save to redis with inactive status,
  3. During the process of the job, redis job status will be updated to active status
  4. If a job is complete, it will be published to the complete queue, which cause the invoke of on "complete" handler
  5. After complete handler invoked, the job is done
  6. If a job failed, it will be published to the error queue, and trigger the on "error" handler
  7. Error handler will update job status on redis
  8. Progress will be both saved to redis and published to progress queue, the on "progress" handler will be triggered then.
  9. Light weight mode can be specified for a job by provide {lightweight: true} as third parameter when creating a job. In this mode, the job does not report any status to redis or queue, which means it is not monitorable.

FAQs

Package last updated on 04 Aug 2017

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