@amykit/plugin-serial-engine
v0.4.0
Published
Advances one work item by one move per tick.
Readme
@amykit/plugin-serial-engine
Advances one work item by one move per tick.
A plugin for amy. It provides the engine.
Install
npm install -g @amykit/plugin-serial-engineThen name it in ~/.amy/config.yaml:
workflows:
your-profile:
plugins:
- "@amykit/plugin-serial-engine"Configuration
plugins:
"@amykit/plugin-serial-engine":
maxItemAttempts: 5
retentionDays: 7
retryDelayMs: 300000
staleClaimMs: 1800000| Setting | Type | Required | Default | What it is |
| :-- | :-- | :-- | :-- | :-- |
| maxItemAttempts | number | no | 5 | how many times one item may fail before the operator is told and it is dropped |
| retentionDays | number | no | 7 | how long a finished queue item is kept before it is pruned |
| retryDelayMs | number | no | 300000 | how long a failed item is held before it is looked at again |
| staleClaimMs | number | no | 1800000 | how long a claimed item may sit before it counts as abandoned |
Every field is checked at boot against the schema this package declares. A key that is not one of the above is a refusal naming the plugin and the key, not a setting that silently never applied.
Where the reasoning is
Licence
MIT
