Commit Graph

312 Commits

Author SHA1 Message Date
bb898e26c2 add 20x delay when search results in an error 2017-08-08 10:55:33 -07:00
4813c5bfa3 update the changelog 2017-08-08 10:55:33 -07:00
0ce26f6d9d fix destroy test 2017-08-08 10:55:33 -07:00
6bdf7163b6 add new events
one for when the search is completed, and one for when the job poller is ready
2017-08-08 10:55:33 -07:00
128905cdb4 track poller running state
use setTimeout, and wait for the search and job processing to complete before polling for jobs again
2017-08-08 10:55:33 -07:00
01adab4174 move poller state into this._poller 2017-08-08 10:55:33 -07:00
eb17575a96 update dependencies, remove npmrc 2017-08-08 10:55:33 -07:00
73c7147c26 bump node version requirement 2017-08-08 10:55:33 -07:00
7787e35ea5 chore: add project status section to the readme
also add not that Elastic does not support this library, just in case
2017-08-08 10:54:52 -07:00
91e5316877 v2.0.2 v2.0.2 2017-05-23 18:18:20 -07:00
ee948c5900 stop testing in node 4
because i don't feel like dealing with the peer dependency issues....
2017-05-23 18:16:27 -07:00
ff944c523a add yarn.lock to gitignore 2017-05-23 18:14:13 -07:00
6401022021 update changelog 2017-05-23 18:11:16 -07:00
32fb6a92f5 better fix for the worker doctype
use the queue's doctype if one is not provided. also adds the option to the readme
2017-05-23 18:11:16 -07:00
d4f24182b4 use the queue doctype in the worker by default
allow the user to override the setting
2017-05-23 18:11:16 -07:00
283731d6e6 2.0.1 2017-03-01 16:01:40 -07:00
79affbce76 remove ignore 400 on index creation 2017-03-01 16:01:28 -07:00
9b02bdf56c update the readme about version compatability 2017-03-01 11:30:33 -07:00
bae58b0370 2.0.0 2017-03-01 11:25:55 -07:00
c1216d5a4b update changelog 2017-03-01 11:25:46 -07:00
0e0c3feab9 fix mapping types for 5.x+
elasticsearch has deprecated the string type in 5.x, and is removing it in 6.x
2017-03-01 11:23:23 -07:00
0fb14d46c9 1.0.0 2017-02-28 16:03:19 -07:00
7900d0c7e1 update the changelog 2017-02-28 16:03:13 -07:00
c84b62bd31 update library deps 2017-02-28 16:01:52 -07:00
d972c9a1cb update remaining test deps 2017-02-28 16:01:40 -07:00
e294af2688 update eslint packages
change elasticsearch to ^ instead of ~
2017-02-28 15:57:43 -07:00
73efd7167d update eslint config and babel packages 2017-02-28 15:55:13 -07:00
0ed702c665 make elasticsearch a peer dependency 2017-02-28 15:52:41 -07:00
2324256039 remove error dependency 2017-02-28 15:52:41 -07:00
c6c73f6dd2 fix code and tests, use custom errors 2017-02-28 15:52:41 -07:00
9cff4e4b04 replace typed errors with custom errors 2017-02-28 15:52:40 -07:00
1e8340f214 remove lodash dependencies 2017-02-28 14:48:43 -07:00
bbd82a1de1 replace lodash methods with local helpers 2017-02-28 14:48:23 -07:00
64c1c90337 add plain object check and omit helpers 2017-02-28 14:45:43 -07:00
5e0cc440ff 0.12.2 2016-12-16 17:02:04 -07:00
1e3168452f update the changelog 2016-12-16 17:00:49 -07:00
Joe Fleming
3cc8573ab0 Merge pull request #13 from w33ble/fix/worker-destroy
Worker destroy() will stops job polling
2016-12-16 16:57:52 -07:00
b2f4ae857f test that the running state prevents searches 2016-12-16 16:53:22 -07:00
c64c5c80d6 call _stopJobPolling on destroy 2016-12-16 16:50:48 -07:00
4befaee4cc minor syntax change
make running more clearly a private state variable
2016-12-16 16:45:23 -07:00
Joe Fleming
af47d230db Merge pull request #10 from jasonallen/patch-1
Fix typo in Worker Class name
2016-12-16 10:27:30 -07:00
jason allen
7c1189cf3c [FIX] worker destroy will really stop it. 2016-12-15 09:27:27 -08:00
bcca5667fb udpate travis badge, remove codecov 2016-12-06 14:59:40 -07:00
5886c1399d 0.12.1 2016-12-06 14:52:34 -07:00
40aa1d0a2c change repo location and author 2016-12-06 14:52:22 -07:00
Jason Allen
3d34642de4 Fix typo in Worker Class name
It was mistakenly called Job.
2016-12-01 07:58:35 -08:00
7836ae5b39 0.12.0 2016-10-19 13:42:38 -07:00
6913391526 update the changelog 2016-10-19 13:39:59 -07:00
2753986038 remove the timeout param from ping 2016-10-19 13:39:22 -07:00
64ff676fab change the queue error 2016-10-19 13:39:07 -07:00