Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

egg-agenda-tf

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-agenda-tf

此模块是在[egg-agenda](https://www.npmjs.com/package/egg-agenda)基础上进行修改,主要解决mongodb连接过程中警告问题,同时agenda模块升级到了3.0.0。

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

egg-agenda-tf

此模块是在egg-agenda基础上进行修改,主要解决mongodb连接过程中警告问题,同时agenda模块升级到了3.0.0。

安装

npm install egg-agenda

配置

  • 在 config/plugin.js 中添加以下内容
exports.agenda = {
  enable: true,
  package: 'egg-agenda-tf',
};
  • 在 config/config.default.js 中添加以下内容
config.agenda = {
  client: {
    db: 'agenda',
    <!-- 可选参数 -->
    collection: 'agendaJob'
    options: {
      auto_reconnect: true
    }
  }
};

使用

具体使用方式请参考agenda

Keywords

egg

FAQs

Package last updated on 21 Apr 2020

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