wip tracking download fails

This commit is contained in:
Ben 2024-10-29 15:32:43 +01:00
parent a1833c52cc
commit 8b24de94ab
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B
3 changed files with 17 additions and 10 deletions

View File

@ -1,4 +1,5 @@
using Logging; using Logging;
using Utils;
namespace KubernetesWorkflow namespace KubernetesWorkflow
{ {
@ -40,6 +41,11 @@ namespace KubernetesWorkflow
protected override void ProcessLine(string line) protected override void ProcessLine(string line)
{ {
foreach (var replacement in BaseLog.replacements)
{
line = replacement.Apply(line);
}
LogFile.WriteRaw(line); LogFile.WriteRaw(line);
} }
} }

View File

@ -16,7 +16,7 @@ namespace Logging
public static bool EnableDebugLogging { get; set; } = false; public static bool EnableDebugLogging { get; set; } = false;
private readonly NumberSource subfileNumberSource = new NumberSource(0); private readonly NumberSource subfileNumberSource = new NumberSource(0);
private readonly List<BaseLogStringReplacement> replacements = new List<BaseLogStringReplacement>(); public static List<BaseLogStringReplacement> replacements = new List<BaseLogStringReplacement>();
private LogFile? logFile; private LogFile? logFile;
public BaseLog() public BaseLog()

View File

@ -13,12 +13,13 @@ namespace CodexPlugin
//"thatbenbierens/nim-codex:blockexcpr1"; // PR with revert of "Fixes issue where only wants of type block are stored in peerContext" => 20/20: 17 seconds //"thatbenbierens/nim-codex:blockexcpr1"; // PR with revert of "Fixes issue where only wants of type block are stored in peerContext" => 20/20: 17 seconds
//"thatbenbierens/nim-codex:blockexprecreate"; // v0.1.7 with patch => 20/20: 19 seconds //"thatbenbierens/nim-codex:blockexprecreate"; // v0.1.7 with patch => 20/20: 19 seconds
//"thatbenbierens/nim-codex:blockexprecreate016"; // v0.1.6 with patch => 20/20: 19 seconds 10/10: 2 seconds //"thatbenbierens/nim-codex:blockexprecreate016"; // v0.1.6 with patch => 20/20: 19 seconds 10/10: 2 seconds
"thatbenbierens/nim-codex:blockexchprtinker7"; //"thatbenbierens/nim-codex:blockexchprtinker7";
//"thatbenbierens/nim-codex:blkexc9"; // wow-fast //"thatbenbierens/nim-codex:blkexc9"; // wow-fast
"thatbenbierens/nim-codex:asyncprofile5break"; // asynced trees.
blocks are stored, blocks are resolved //blocks are stored, blocks are resolved
store-stream does not continue. node too busy??? //store-stream does not continue. node too busy???
public const string ApiPortTag = "codex_api_port"; public const string ApiPortTag = "codex_api_port";
public const string ListenPortTag = "codex_listen_port"; public const string ListenPortTag = "codex_listen_port";