mirror of
https://github.com/actions/runner.git
synced 2026-03-10 00:45:24 +08:00
c
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.277.1
|
||||
2.278.1
|
||||
|
||||
Reference in New Issue
Block a user