qdone 1.6.0 → 2.0.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +9 -1
  2. package/commonjs/index.js +10 -0
  3. package/commonjs/package.json +3 -0
  4. package/commonjs/src/cache.js +142 -0
  5. package/commonjs/src/cloudWatch.js +148 -0
  6. package/commonjs/src/consumer.js +483 -0
  7. package/commonjs/src/defaults.js +107 -0
  8. package/commonjs/src/enqueue.js +498 -0
  9. package/commonjs/src/idleQueues.js +466 -0
  10. package/commonjs/src/qrlCache.js +250 -0
  11. package/commonjs/src/sqs.js +160 -0
  12. package/npm-shrinkwrap.json +17598 -264
  13. package/package.json +41 -29
  14. package/src/bin.js +3 -0
  15. package/src/cache.js +21 -25
  16. package/src/cli.js +269 -181
  17. package/src/cloudWatch.js +97 -0
  18. package/src/consumer.js +346 -0
  19. package/src/defaults.js +114 -0
  20. package/src/enqueue.js +239 -196
  21. package/src/idleQueues.js +242 -223
  22. package/src/monitor.js +53 -0
  23. package/src/qrlCache.js +110 -83
  24. package/src/sentry.js +30 -0
  25. package/src/sqs.js +73 -0
  26. package/src/worker.js +197 -202
  27. package/.DS_Store +0 -0
  28. package/.coveralls.yml +0 -2
  29. package/.travis.yml +0 -17
  30. package/CHANGELOG.md +0 -107
  31. package/dump.rdb +0 -0
  32. package/index.js +0 -6
  33. package/package-lock.json.old +0 -3939
  34. package/qdone +0 -2
  35. package/test/fixtures/test-child-kill-linux.sh +0 -9
  36. package/test/fixtures/test-fifo01-x24.batch +0 -24
  37. package/test/fixtures/test-too-big-1.batch +0 -10
  38. package/test/fixtures/test-unique01-x24.batch +0 -24
  39. package/test/fixtures/test-unique02-x24.batch +0 -24
  40. package/test/fixtures/test-unique24-x24.batch +0 -24
  41. package/test/fixtures/test-unique24-x240.batch +0 -240
  42. package/test/test.cache.js +0 -61
  43. package/test/test.cli.js +0 -1609
package/qdone DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- require('./src/cli.js').run(process.argv.slice(2)).catch(_ => process.exit(1))
@@ -1,9 +0,0 @@
1
- #!/bin/bash
2
- OUTFILE=/tmp/qdone-test-child-kill-linux.out
3
- rm $OUTFILE
4
- _term() {
5
- echo "terminated" > $OUTFILE
6
- exit 1
7
- }
8
- trap _term SIGTERM
9
- for i in 1 2 3; do sleep 1; echo $i; echo $i >> $OUTFILE; done
@@ -1,24 +0,0 @@
1
- test.fifo true
2
- test.fifo true
3
- test.fifo true
4
- test.fifo true
5
- test.fifo true
6
- test.fifo true
7
- test.fifo true
8
- test.fifo true
9
- test.fifo true
10
- test.fifo true
11
- test.fifo true
12
- test.fifo true
13
- test.fifo true
14
- test.fifo true
15
- test.fifo true
16
- test.fifo true
17
- test.fifo true
18
- test.fifo true
19
- test.fifo true
20
- test.fifo true
21
- test.fifo true
22
- test.fifo true
23
- test.fifo true
24
- test.fifo true