Skip to content

Commit

Permalink
fix: does not submit when input is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Dec 7, 2023
1 parent aa8fa10 commit 03a8090
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Client/src/Common/Submitter/BaseClientSubmitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@ private IEnumerable<string> ChunkSubmitTasksWithDependencies(IEnumerable<Tuple<s

foreach (var taskChunk in tasks.ToChunks(100))
{
if (taskChunk.Length == 0)
{
continue;
}

for (var nbRetry = 0; nbRetry < maxRetries; nbRetry++)
{
using var channel = ChannelPool.GetChannel();
Expand Down

0 comments on commit 03a8090

Please sign in to comment.