-
Notifications
You must be signed in to change notification settings - Fork 16
WORKLOG
Grant Carthew edited this page Nov 19, 2016
·
50 revisions
Last Updated: 2016-11-03
- Consider adding
Related Documents
to other documents. Ref: Job.addLog. - Look for references to the
job-add-log
andjobAddLog
. Replace withjobLog
andjob-log
.
Changes required when v2.0.0 is published:
- Document
duration
andrepeatCount
on completed job logs. - Document how the Job Options conflict system works for repeatDelay and retryDelay.
- update the job schema
From the Change Log document:
- Added Queue.reanimateJob method.
- Added Event.reanimated event.
- Updated Event.error signature to include the Queue.id first then the error.
- Updated Event.reset signature to include the Queue.id and totalRemoved.
- Updated Event.reviewed signature to include the Queue.id and reviewed object.
- Updated Event.added signature to include the Queue.id and Job.id.
- Updated Event.active signature to include the Queue.id and Job.id.
- Updated Event.processing signature to include the Queue.id and Job.id.
- Updated Event.completed signature to include the Queue.id, Job.id, and isRepeating.
- Updated Event.failed signature to include the Queue.id and Job.id.
- Updated Event.terminated signature to include the Queue.id and Job.id.
- Updated Event.cancelled signature to include the Queue.id and Job.id.
- Updated Event.log signature to include the Queue.id and Job.id.
- Updated Event.progress signature to include the Queue.id, Job.id, and percent.
- Updated Event.updated signature to include the Queue.id and Job.id.
- Updated pausing, paused, and resumed signature order to Queue.id and global.
- Fixed removing event listeners when Queue.stop is called.
- Improved Queue.summary query performance by adding a
status
index. - Migrated tests from tape to tap.
- Added Istanbul including a code coverage report.
- Updated Job.update to return a Promise resolving to the Job object.
- Updated Job.updateProgress to return a Promise resolving to the Job object.
- Added Job.setRepeat and Job.setRepeatDelay to enable repeat jobs.
- Added Job.repeat and Job.repeatDelay with full repeatable job tests.
- Added a new Queue Option
databaseInitDelay
. - Added a database initialization delay algorithm to the db-assert module.
- Introduction
- Tutorial
- Queue Constructor
- Queue Connection
- Queue Options
- Queue PubSub
- Queue Master
- Queue Events
- State Document
- Job Processing
- Job Options
- Job Status
- Job Retry
- Job Repeat
- Job Logging
- Job Editing
- Job Schema
- Job Name
- Complex Job
- Delayed Job
- Cancel Job
- Error Handling
- Queue.createJob
- Queue.addJob
- Queue.getJob
- Queue.findJob
- Queue.findJobByName
- Queue.containsJobByName
- Queue.cancelJob
- Queue.reanimateJob
- Queue.removeJob
- Queue.process
- Queue.review
- Queue.summary
- Queue.ready
- Queue.pause
- Queue.resume
- Queue.reset
- Queue.stop
- Queue.drop
- Queue.Job
- Queue.host
- Queue.port
- Queue.db
- Queue.name
- Queue.r
- Queue.id
- Queue.jobOptions [R/W]
- Queue.changeFeed
- Queue.master
- Queue.masterInterval
- Queue.removeFinishedJobs
- Queue.running
- Queue.concurrency [R/W]
- Queue.paused
- Queue.idle
- Event.ready
- Event.added
- Event.updated
- Event.active
- Event.processing
- Event.progress
- Event.log
- Event.pausing
- Event.paused
- Event.resumed
- Event.completed
- Event.cancelled
- Event.failed
- Event.terminated
- Event.reanimated
- Event.removed
- Event.idle
- Event.reset
- Event.error
- Event.reviewed
- Event.detached
- Event.stopping
- Event.stopped
- Event.dropped
- Job.setName
- Job.setPriority
- Job.setTimeout
- Job.setDateEnable
- Job.setRetryMax
- Job.setRetryDelay
- Job.setRepeat
- Job.setRepeatDelay
- Job.updateProgress
- Job.update
- Job.getCleanCopy
- Job.addLog
- Job.getLastLog