Skip to content

Beta-1.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@cohix cohix released this 09 Sep 14:33
· 25 commits to master since this release
v0.1.2
ab9ec6b

Beta-1.2 release contains two new features:

  • The ability to set a job timeout. Passing the timeout option to h.Handle will cause the worker to discard a job after the provided number of seconds. This will NOT cause the execution of the job to be terminated (it will run on a background goroutine and its results will be discarded). The worker will continue to process a new job if a job times out.

  • The ability to react to messages received from a Grav pod. Messages can trigger jobs, and the input/output for the job will be routed with the pod. See the grav documentation page in the docs/ folder for details.

Breaking changes:

  • RunFunc has been renamed to DoFunc. The convention for a Runnable's Run function is to name the DoFunc parameter do rather than run.