Add message size in chars and bytes (#1100)

* Add message size in chars and bytes

* Log hash of message body
This commit is contained in:
jeff
2021-06-10 12:58:56 -07:00
committed by GitHub
parent a1bcd5996b
commit 42fe704132
4 changed files with 6 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ namespace GitHub.Runner.Listener.Configuration
public string GetUniqueRunnerGroupName()
{
return RunnerServiceLocalGroupPrefix + IOUtil.GetPathHash(HostContext.GetDirectory(WellKnownDirectory.Bin)).Substring(0, 5);
return RunnerServiceLocalGroupPrefix + IOUtil.GetSha256Hash(HostContext.GetDirectory(WellKnownDirectory.Bin)).Substring(0, 5);
}
public bool LocalGroupExists(string groupName)