Compare commits

...
Author SHA1 Message Date
Ben 8b24de94ab wip tracking download fails 2024-10-29 15:32:43 +01:00
Ben a1833c52cc Merge branch 'master' into blockexc/experiments
# Conflicts:
#	ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs
2024-10-29 14:02:32 +01:00
Ben 922e2dad52 results of different images 2024-10-25 12:39:51 +02:00
3 changed files with 21 additions and 2 deletions
@@ -1,4 +1,5 @@
using Logging;
using Utils;
namespace KubernetesWorkflow
{
@@ -40,6 +41,11 @@ namespace KubernetesWorkflow
protected override void ProcessLine(string line)
{
foreach (var replacement in BaseLog.replacements)
{
line = replacement.Apply(line);
}
LogFile.WriteRaw(line);
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ namespace Logging
public static bool EnableDebugLogging { get; set; } = false;
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;
public BaseLog()
@@ -7,7 +7,20 @@ namespace CodexPlugin
{
public class CodexContainerRecipe : ContainerRecipeFactory
{
private const string DefaultDockerImage = "codexstorage/nim-codex:latest-dist-tests";
private const string DefaultDockerImage =
//"codexstorage/nim-codex:0.1.7-dist-tests"; // => 20/20: 17 seconds 10/10: 3 seconds
//"codexstorage/nim-codex:sha-2a25460-dist-tests"; // PR => 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:blockexprecreate016"; // v0.1.6 with patch => 20/20: 19 seconds 10/10: 2 seconds
//"thatbenbierens/nim-codex:blockexchprtinker7";
//"thatbenbierens/nim-codex:blkexc9"; // wow-fast
"thatbenbierens/nim-codex:asyncprofile5break"; // asynced trees.
//blocks are stored, blocks are resolved
//store-stream does not continue. node too busy???
public const string ApiPortTag = "codex_api_port";
public const string ListenPortTag = "codex_listen_port";
public const string MetricsPortTag = "codex_metrics_port";