mongodb-queue
Advanced tools
Comparing version 0.8.0 to 0.9.1
{ | ||
"name": "mongodb-queue", | ||
"version": "0.8.0", | ||
"version": "0.9.1", | ||
"description": "Message queues which uses MongoDB.", | ||
@@ -5,0 +5,0 @@ "main": "mongodb-queue.js", |
@@ -323,2 +323,14 @@ # mongodb-queue # | ||
### .clean() ### | ||
Deletes all processed mesages from the queue. Of course, you can leave these hanging around | ||
if you wish, but delete them if you no longer need them. Perhaps do this using `setInterval` | ||
for a regular cleaning: | ||
```js | ||
queue.clean(function(err) { | ||
console.log('The processed messages have been deleted from the queue') | ||
}) | ||
``` | ||
### Notes about Numbers ### | ||
@@ -325,0 +337,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62123
446