Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Jan 2, 2024
1 parent 1a0b38e commit 6bcbb3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Conductor/Client/Worker/WorkflowTaskExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private void Work4Ever(CancellationToken token)
}
catch (Exception e)
{

_logger.LogError(
$"[{_workerSettings.WorkerId}] worker error: {e.Message}"
+ $", taskName: {_worker.TaskType}"
Expand Down
2 changes: 1 addition & 1 deletion csharp-examples/TestWorker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public async Task<TaskResult> Execute(Task task, CancellationToken token)
}

//Simulate work - once in a while
var sleepTime = rnd.Next(0, 2);
var sleepTime = rnd.Next(0, 2);
Thread.Sleep(TimeSpan.FromSeconds(sleepTime));

return result;
Expand Down

0 comments on commit 6bcbb3e

Please sign in to comment.