couchdb-worker
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -39,6 +39,5 @@ /* | ||
// config and status id | ||
if (config.config_id && typeof config.config_id !== 'string') throw('config_id must be a string!'); | ||
this.config_id = config.config_id || 'worker-config/' + this.name; | ||
if (config.status_id && typeof config.status_id !== 'string') throw('status_id must be a string!'); | ||
this.status_id = config.status_id || 'worker-status/' + this.name; | ||
// TODO: maybe use '$worker-config/' + this.name; | ||
this.config_id = 'worker-config/' + this.name; | ||
this.status_id = 'worker-status/' + this.name; | ||
@@ -172,2 +171,9 @@ // batch size defaults to 10 | ||
// ignore worker configs | ||
if (doc._id.match(/^worker-config\//)) return false; | ||
// ignore worker status | ||
if (doc._id.match(/^worker-status\//)) return false; | ||
this.docs_checked++; | ||
@@ -174,0 +180,0 @@ |
{ | ||
"name": "couchdb-worker", | ||
"description": "This is a base couchdb worker that manages worker status.", | ||
"version": "0.4.4", | ||
"description": "This is an abstract CouchDB worker that manages worker status and handle attachment processing.", | ||
"keywords": ["CouchDB", "attachments", "worker", "abstract"], | ||
"homepage": "https://github.com/jo/couchdb-worker", | ||
"bugs": { | ||
"url" : "http://github.com/jo/couchdb-worker/issues", | ||
"email" : "schmidt@netzmerk.com" | ||
}, | ||
"author": { | ||
"name": "Johannes J. Schmidt", | ||
"url": "http://github.com/jo", | ||
"email": "schmidt@netzmerk.com" | ||
"email": "schmidt@netzmerk.com", | ||
"url": "http://die-tf.de" | ||
}, | ||
"version": "0.4.3", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/jo/couchdb-worker" | ||
}, | ||
"dependencies": { | ||
@@ -11,0 +21,0 @@ "request": "*", |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
27874
663
1
1
6