All Versions
38
Latest Version
Avg Release Cycle
17 days
Latest Release
1235 days ago

Changelog History
Page 2

  • v7.0.6 Changes

    August 06, 2020
    • ๐Ÿ‘ท Workers with wildcard queue will find new queues (#413)
    • โšก๏ธ Update Dependencies
  • v7.0.5 Changes

    July 16, 2020
    • ๐Ÿ‘ท Multi worker cleanup (#346)
    • Apply prettier to markdown files (#348)
    • โž• Add links to "domain" in documentation (#347)
    • ๐Ÿ›  Fix checkWrapper typo (#345)
    • ๐Ÿ›  Fix remaining typo (#377)
    • ๐Ÿ›  Fix JavaScript mis-spelling typo (#370)
    • ๐Ÿ‘ท Multiworker: fix error handler queue interpolation typo (#372)
    • โšก๏ธ Update README.md (typo) (#361)
    • โšก๏ธ Update dependencies
  • v7.0.4 Changes

    April 23, 2020

    connectionOptions.scanCount (#330)

    ๐Ÿ‘ Allows the setting of connectionOptions.scanCount to increase the number of keys scanned by each iteration of connection.getKeys. On large datasets, this will improve the performance of queue.allDelayed(), queue.locks(), queue.stats() and even scheduler polling can get very slow, taking over 30 seconds. This is because redis.scan() gets invoked hundreds of thousands of times when connection.getKeys() gets called. connection.getKeys() uses the SCAN command in Redis. When using SCAN, the COUNT parameter is set to 10 by default.

    const connectionDetails = { host: "127.0.0.1", password: null, port: 6379, database: 0scanCount: 1000 // \<-- New!};const queue = new Queue({ connection: connectionDetails }, jobs);await queue.connect();await queue.stats()
    

    Misc

    • ๐Ÿณ Extend docker example to use typescript (#343)
    • resque-web: support RAILS_RESQUE_REDIS env (#344)
  • v7.0.3 Changes

    April 06, 2020
    • โšก๏ธ update prettier and lint rules (#331)
    • โœ… test node v13 and use redis v5 (#332)
    • โœ‚ Remove jobs definition of producer example (#333)
    • ๐Ÿ–จ process.nextTick() takes callback as argument (#336)
    • ๐Ÿ’… Code style fixes (#338)
    • โšก๏ธ Update README.md (#339)
    • โšก๏ธ update deps (#341)
  • v7.0.2 Changes

    March 16, 2020
    • Schedule should also watch delayed_queue_schedule #329
    • โšก๏ธ Update Dependencies
  • v7.0.1 Changes

    February 20, 2020

    โšก๏ธ Update Dependencies

    ๐Ÿ‘€ See fe629db

  • v7.0.0 Changes

    February 20, 2020

    ๐Ÿ“‡ Rename Master to Leader (#323)

    While no underlying functionality has changed, this is a breaking change due to the new names of events/emitters

    • โšก๏ธ Updated effected event handlers from master to leader
    • โšก๏ธ Updated README.md to reflect the change from master to leader
    • Any changes to import statements are them being reordered via TypeScript Hero
    • โœ… Fixed typo in __tests__ /utils/specHelper.ts, object was named SpecHeloer, changed to SpecHelper

    ๐Ÿณ Docker examples (#321)

  • v6.0.9 Changes

    February 16, 2020

    Emit Duration (#320)

    We now emit duration for success and failure events:

     worker.on("success", (queue, job, result, duration) =\> { console.log( `job success ${queue} ${JSON.stringify(job)} \>\> ${result} (${duration}ms)` ); }); worker.on("failure", (queue, job, failure, duration) =\> { console.log( `job failure ${queue} ${JSON.stringify(job )} \>\> ${failure} (${duration}ms)` ); });
    
  • v6.0.8 Changes

    February 15, 2020

    ๐Ÿ‘ท Use multi transactions to increase safety with delayed jobs

    ๐Ÿ‘ท We now uses Redis transactions (with multi) when enqueuing a delayed job and deleting a delayed job queue.

    We need to invoke the "watch" command by the scheduler to be notified of any changes to the delayed queue we are about to delete. Then we check that its length is 0. If it isn't we exit. If it is, we start preparing the new multi() command to delete the queue and its entry in delayed_queue_schedule. If a new job is inserted while we are doing this, the "watch" command will prevent the delete from succeeding.

    Otherwise, even in the race condition when a job is being added to the same delayed queue that is being removed, the scheduler will remove the queue and entry in delayed_queue_schedule, and then the enqueue will add it back again.

  • v6.0.7 Changes

    January 16, 2020
    • โšก๏ธ Update dependancies to latest versions
    • โšก๏ธ update type of JobEmit to include args