From 204c3130e8032d74bb60201c9b5364d34d5240d8 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Tue, 2 Jan 2024 15:42:36 -0800 Subject: [PATCH] Fix payload assembler default timeout Signed-off-by: Victor Chang --- src/InformaticsGateway/Services/Connectors/PayloadAssembler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InformaticsGateway/Services/Connectors/PayloadAssembler.cs b/src/InformaticsGateway/Services/Connectors/PayloadAssembler.cs index c48f47f2..bc784031 100755 --- a/src/InformaticsGateway/Services/Connectors/PayloadAssembler.cs +++ b/src/InformaticsGateway/Services/Connectors/PayloadAssembler.cs @@ -97,7 +97,7 @@ private async Task RemovePendingPayloads() /// Instance to be queued /// The service that triggered this queue request /// Number of seconds the bucket shall wait before sending the payload to be processed. Note: timeout cannot be modified once the bucket is created. - public async Task Queue(string bucket, FileStorageMetadata file, DataOrigin dataOrigin, uint timeout) => await Queue(bucket, file, dataOrigin, DEFAULT_TIMEOUT, CancellationToken.None).ConfigureAwait(false); + public async Task Queue(string bucket, FileStorageMetadata file, DataOrigin dataOrigin, uint timeout) => await Queue(bucket, file, dataOrigin, timeout, CancellationToken.None).ConfigureAwait(false); /// /// Queues a new instance of . ///