Skip to content

Releases: aternosorg/taskmaster

v2.0.1

Choose a tag to compare

@matthi4s matthi4s released this 29 Jun 13:43
bc842fc

What's Changed

  • Handle proc_open failing and closing RuntimeProcesses that failed to start correctly by @JulianVennen in #14
  • Add php 8.5 to version matrix in test.yaml by @pavog in #13

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@matthi4s matthi4s released this 28 Mar 10:46
df91598

What's Changed

Full Changelog: v1.2.2...v2.0.0

v1.2.2

Choose a tag to compare

@matthi4s matthi4s released this 06 Mar 13:23
4eaa76d

What's Changed

  • Use StdStreams instead of STDERR constant for error output by @KurtThiemann in #8

Full Changelog: v1.2.1...v1.2.2

v1.2.1

Choose a tag to compare

@matthi4s matthi4s released this 13 Sep 10:21
aaeb0fe

What's Changed

  • Open std streams if STDIN, STDOUT, or STDERR are not defined by @KurtThiemann in #5

New Contributors

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@matthi4s matthi4s released this 10 Jul 11:54
fb5660f

detect grpc fork support

This release might change your worker selection from ForkWorker to ProcessWorker if you have the grpc extension installed. More info

Full Changelog: v1.1.4...v1.1.5

v1.1.4

Choose a tag to compare

@matthi4s matthi4s released this 10 Jul 07:53
9a17344

Allow definition of init task after adding workers

Full Changelog: v1.1.3...v1.1.4

v1.1.3

Choose a tag to compare

@matthi4s matthi4s released this 29 Jan 10:53
f89230a

Fall back to sync worker on Windows

v1.1.2

Choose a tag to compare

@matthi4s matthi4s released this 26 Jan 14:31
d12f73e

What's Changed

  • Update year in LICENSE by @pavog in #3
  • send socket messages in chunks, test larger messages by @matthi4s in #4

Full Changelog: v1.1.1...v1.1.2

v1.1.1

Choose a tag to compare

@matthi4s matthi4s released this 12 Dec 09:02
d3a854b
return this from set default init task

v1.1.0

Choose a tag to compare

@matthi4s matthi4s released this 11 Dec 18:20
2875a4f

Added init tasks

You can now define tasks that are executed on every worker instance before the first task is executed.
This is helpful to run some initial setup or (in case of the ForkWorker)
to clear some variables that are inherited from the parent process, e.g. database connections.

// init tasks are always provided by a task factory
$taskmaster->setDefaultInitTaskFactory(new InitTaskFactory());

// but taskmaster can create task factories automatically by cloning or instancing a task
$taskmaster->setDefaultInitTask(new InitTask());
$taskmaster->setDefaultInitTask(InitTask::class);

// you can also define a task factory for a specific worker
$worker->setInitTaskFactory(new InitTaskFactory());