1.1.0 • Published 7 years ago
ezs-booster v1.1.0
Boosterfor EZS plugin
This package cannot be used alone. EZS has to be installed.
Example
#!/usr/bin/env ezs
[use]
plugin = booster
[booster]
file = ./script.iniInstallation
$ git clone https://github.com/touv/node-booster.git
$ cd node-booster
$ npm install -g ezs
$ npm install
$ npm link
$ npm run build
$ echo "booster do something !" | ./examples/booster.ezsStatements
Table of Contents
booster
Takes an Object delegate processing to an external pipeline and cache the result
Parameters
datafeedfileString? the external pipeline is descrbied in a filescriptString? the external pipeline is descrbied in a sting of characterscommandsString? the external pipeline is descrbied in objectkeyString? the cache key identifier form the stream, in not provided, the key is computed with the first chunkhitsByCheckNumber Number of hits to verify the cache (optional, default1000)maxFilesNumber Number of hits to verify the cache (optional, default100)maxTotalSizeNumber Size (bytes) maximun of the cash (1 G) (optional, default1000000000)cleanupDelayNumber Frequency (milliseconds) to cleanup the cahe (10 min) (optional, default600000)
Returns Object