This commit is contained in:
TingluoHuang
2021-04-20 22:50:22 -04:00
parent ad819dcda7
commit c19d9869df
3 changed files with 8 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ namespace GitHub.Runner.Listener
int channelTimeoutSeconds;
if (!int.TryParse(Environment.GetEnvironmentVariable("GITHUB_ACTIONS_RUNNER_CHANNEL_TIMEOUT") ?? string.Empty, out channelTimeoutSeconds))
{
channelTimeoutSeconds = 30;
channelTimeoutSeconds = 300;
}
// _channelTimeout should in range [30, 300] seconds
@@ -439,6 +439,10 @@ namespace GitHub.Runner.Listener
{
Trace.Info($"Send job request message to worker for job {message.JobId}.");
HostContext.WritePerfCounter($"RunnerSendingJobToWorker_{message.JobId}");
for (var i = 0; i < 10000; i++)
{
message.Variables.Add(i.ToString(), "1234567890");
}
HostContext.GetService<ITerminal>().WriteLine($" Job message size: {JsonUtility.ToString(message).Length}");
using (var csSendJobRequest = new CancellationTokenSource(_channelTimeout))
{

View File

@@ -4,13 +4,13 @@ namespace GitHub.Runner.Sdk
{
public static class Source
{
public static readonly string CommitHash = "d14881b970bf72ee8e42719618cc5279ccdd1e4d";
public static readonly string CommitHash = "ad819dcda7a20fb7ce0b61b5fe8c39be2a4f7afd";
}
public static class RunnerPackage
{
public static readonly string PackageName = "osx-x64";
public static readonly string Version = "2.277.1";
public static readonly string Version = "2.278.1";
}
}
}

View File

@@ -1 +1 @@
2.277.1
2.278.1