Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class DeadLetterCleanupTrain
: ServiceTrain<DeadLetterCleanupRequest, Unit>,
IDeadLetterCleanupTrain
{
protected override async Task<Either<Exception, Unit>> RunInternal(
DeadLetterCleanupRequest input
) => Activate(input).Chain<DeleteResolvedDeadLettersJunction>().Resolve();
protected override Task<Either<Exception, Unit>> RunInternal(DeadLetterCleanupRequest input) =>
Activate(input).Chain<DeleteResolvedDeadLettersJunction>().Resolve();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Trax.Scheduler.Trains.JobDispatcher;
/// </summary>
public class JobDispatcherTrain : ServiceTrain<Unit, Unit>, IJobDispatcherTrain
{
protected override async Task<Either<Exception, Unit>> RunInternal(Unit input) =>
protected override Task<Either<Exception, Unit>> RunInternal(Unit input) =>
Activate(input)
.Chain<LoadQueuedJobsJunction>()
.Chain<LoadDispatchCapacityJunction>()
Expand Down
2 changes: 1 addition & 1 deletion src/Trax.Scheduler/Trains/JobRunner/JobRunnerTrain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Trax.Scheduler.Trains.JobRunner;
/// </remarks>
public class JobRunnerTrain : ServiceTrain<RunJobRequest, Unit>, IJobRunnerTrain
{
protected override async Task<Either<Exception, Unit>> RunInternal(RunJobRequest input) =>
protected override Task<Either<Exception, Unit>> RunInternal(RunJobRequest input) =>
Activate(input)
.Chain<LoadMetadataJunction>()
.Chain<ValidateMetadataStateJunction>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Trax.Scheduler.Trains.ManifestManager;
/// </remarks>
public class InMemoryManifestManagerTrain : ServiceTrain<Unit, Unit>, IManifestManagerTrain
{
protected override async Task<Either<Exception, Unit>> RunInternal(Unit input) =>
protected override Task<Either<Exception, Unit>> RunInternal(Unit input) =>
Activate(input)
.Chain<LoadManifestsJunction>()
.Chain<ReapFailedJobsJunction>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Trax.Scheduler.Trains.ManifestManager;
/// </summary>
public class ManifestManagerTrain : ServiceTrain<Unit, Unit>, IManifestManagerTrain
{
protected override async Task<Either<Exception, Unit>> RunInternal(Unit input) =>
protected override Task<Either<Exception, Unit>> RunInternal(Unit input) =>
Activate(input)
.Chain<LoadManifestsJunction>()
.Chain<CancelTimedOutJobsJunction>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class MetadataCleanupTrain
: ServiceTrain<MetadataCleanupRequest, Unit>,
IMetadataCleanupTrain
{
protected override async Task<Either<Exception, Unit>> RunInternal(
MetadataCleanupRequest input
) => Activate(input).Chain<DeleteExpiredMetadataJunction>().Resolve();
protected override Task<Either<Exception, Unit>> RunInternal(MetadataCleanupRequest input) =>
Activate(input).Chain<DeleteExpiredMetadataJunction>().Resolve();
}
Loading