Skip to main content

Class TaskuraiWorkerOptions

Taskurai worker configuration

Assembly: Taskurai.Worker.dll
Declaration
public class TaskuraiWorkerOptions : TaskuraiOptions

Inheritance: System.Object -> Taskurai.TaskuraiOptions

Properties

HubName

Hub name.

Declaration
public string HubName { get; set; }

WorkerName

Worker name.

Declaration
public string WorkerName { get; set; }

WorkerImage

Worker image.

Declaration
public string WorkerImage { get; set; }

QueueReaderInterval

Queue reader interval (milliseconds) (default -1).

Declaration
public int? QueueReaderInterval { get; set; }

QueueReaderIdleInterval

Queue reader idle interval (milliseconds) (default 1000 msec)

Declaration
public int? QueueReaderIdleInterval { get; set; }

CommandTimeout

Default time in seconds before the command is in timeout (default 300, max 7 days)

Declaration
public double? CommandTimeout { get; set; }

CommandStaleTimeout

Default time in seconds before the command is considered stale, time starts after a command is timed out (not responding to timeout) (default 300, max 7 days)

Declaration
public double? CommandStaleTimeout { get; set; }

InlineStepRetryDelayThresholdSec

When an inline step must be retried, how long may the command wait inline before retrying. When retry timeout exceeds the threshold, the command is suspended and the task will be restarted afterwards. (default 60 sec.)

Declaration
public double? InlineStepRetryDelayThresholdSec { get; set; }

MaxConcurrentTasks

Maximum number of concurrent tasks (default = 1)

Declaration
public int? MaxConcurrentTasks { get; set; }

CleanupCompletedTasksAfterSeconds

Cleanup completed tasks after seconds (default = null)

Declaration
public int? CleanupCompletedTasksAfterSeconds { get; set; }

CleanupStateAfterSeconds

Cleanup state after seconds (default = null)

Declaration
public int? CleanupStateAfterSeconds { get; set; }

AutoRegisterCommands

Auto register commands

Declaration
public bool? AutoRegisterCommands { get; set; }

DeploymentId

Deployment Id

Declaration
public string DeploymentId { get; set; }

DeploymentTime

Deployment Time

Declaration
public DateTimeOffset? DeploymentTime { get; set; }