use contants for defaults, use a common doctype
add tests, update readme
This commit is contained in:
@@ -33,6 +33,7 @@ Option | Default | Description
|
||||
------ | ----------- | -------
|
||||
interval | `week` | Valid choices are `year`, `month`, `week`, `day`, `hour`, and even `minute`. | `week`
|
||||
timeout | `10000` | The default job timeout, in `ms`. If workers take longer than this, the job is re-queued for another worker to complete it.
|
||||
doctype | `esqueue` | The doctype to use in Elasticsearch
|
||||
client | | Options to use when creating a new client instance - see [the elasticsearch-js docs](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/configuration.html). If you rather use your own client instance, just pass it in here instead.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user