add not about header passing on job creation
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
Notable changes to the esqueue project. Pay attention to `[BREAKING]` changes when upgrading.
|
Notable changes to the esqueue project. Pay attention to `[BREAKING]` changes when upgrading.
|
||||||
|
|
||||||
|
## v0.10.2
|
||||||
|
|
||||||
|
- Allow passing headers on job creation, useful for auth and proxy traversal
|
||||||
|
|
||||||
## v0.10.1
|
## v0.10.1
|
||||||
|
|
||||||
- Refresh Elasticsearch index when creating job, fire event after refresh
|
- Refresh Elasticsearch index when creating job, fire event after refresh
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ timeout | `10000` | Timeout for the job, if different than the timeout configure
|
|||||||
max_attempts | `3` | Number of times to re-trying assigning the job to a worker before giving up and failing.
|
max_attempts | `3` | Number of times to re-trying assigning the job to a worker before giving up and failing.
|
||||||
priority | `0` | Used to move jobs up the queue. Uses nice values from `-20` to `20`.
|
priority | `0` | Used to move jobs up the queue. Uses nice values from `-20` to `20`.
|
||||||
created_by | null | Used to filter job documents by a creator identifier; meant to be consumed by external applications.
|
created_by | null | Used to filter job documents by a creator identifier; meant to be consumed by external applications.
|
||||||
|
headers | | Any headers to add to the index request. Handy for custom authentication or use with a proxy.
|
||||||
client | | Alternative elasticsearch client instance, if you need to use one other than what the queue was created with.
|
client | | Alternative elasticsearch client instance, if you need to use one other than what the queue was created with.
|
||||||
|
|
||||||
### Creating a worker
|
### Creating a worker
|
||||||
|
|||||||
Reference in New Issue
Block a user