diff --git a/src/Agent.Cocohub/Agent.Cocohub.csproj b/src/Agent.Cocohub/Agent.Cocohub.csproj
index f246b7d..f85a942 100644
--- a/src/Agent.Cocohub/Agent.Cocohub.csproj
+++ b/src/Agent.Cocohub/Agent.Cocohub.csproj
@@ -3,9 +3,9 @@
netstandard2.0
true
- 1.0.0.13
- 1.0.0.13
- 1.0.0.13
+ 1.0.0.14
+ 1.0.0.14
+ 1.0.0.14
diff --git a/src/Logger.Cocohub/Core/CoreThread.cs b/src/Logger.Cocohub/Core/CoreThread.cs
index 7c7e853..d6ad0d7 100644
--- a/src/Logger.Cocohub/Core/CoreThread.cs
+++ b/src/Logger.Cocohub/Core/CoreThread.cs
@@ -14,10 +14,10 @@ public static void CoreFunc()
var logs= LogCollector.Fetch();
LogWriter.Flush(logs);
- if (LogCollector.Count() > 300)
+ if (LogCollector.Count() >= 1000)
Thread.Sleep(1000);
else
- Thread.Sleep(3000); //DEBUG:set to 1000 when debuging so that you can get the result immediately.
+ Thread.Sleep(30000); //DEBUG:set to 1000 when debuging so that you can get the result immediately.
}
}
}
diff --git a/src/Logger.Cocohub/Logger.Cocohub.csproj b/src/Logger.Cocohub/Logger.Cocohub.csproj
index 34c5cb6..0aa97a8 100644
--- a/src/Logger.Cocohub/Logger.Cocohub.csproj
+++ b/src/Logger.Cocohub/Logger.Cocohub.csproj
@@ -3,9 +3,9 @@
netstandard2.0
true
- 1.0.0.16
- 1.0.0.16
- 1.0.0.16
+ 1.0.0.17
+ 1.0.0.17
+ 1.0.0.17
diff --git a/src/MultiTree.Cocohub/Tree.cs b/src/MultiTree.Cocohub/Tree.cs
index b3b37ce..b882d98 100644
--- a/src/MultiTree.Cocohub/Tree.cs
+++ b/src/MultiTree.Cocohub/Tree.cs
@@ -18,20 +18,11 @@ public bool TryLink(string span, long time, string name, string parms)
var spans = span.Split(new string[] {"."}, StringSplitOptions.RemoveEmptyEntries);
if (string.IsNullOrEmpty(span) || spans.Length == 0 || spans.Length == 1)
return false;
- else if (spans.Length == 2)
- {
- //0.1 or 0.2
- Root.Name = name;
- Root.Time = time;
- Root.Params = parms;
-
- return true;
- }
else
{
- //0.1[.n.n.n.n]
+ //0.n[.n.n.n.n]
Node nParent = Root;
- for (int i = 2; i < spans.Length; i++)
+ for (int i = 1; i < spans.Length; i++)
{
int index = Convert.ToInt32(spans[i]);
var node = nParent.Children.Find(n => n.Index == index);
diff --git a/src/Tracer.Cocohub/Tracer.Cocohub.csproj b/src/Tracer.Cocohub/Tracer.Cocohub.csproj
index cbf480d..b10bbf6 100644
--- a/src/Tracer.Cocohub/Tracer.Cocohub.csproj
+++ b/src/Tracer.Cocohub/Tracer.Cocohub.csproj
@@ -6,9 +6,9 @@
Tracer.Cocohub
Tracer.Cocohub
true
- 1.2.0.53
- 1.2.0.53
- 1.2.0.53
+ 1.2.0.54
+ 1.2.0.54
+ 1.2.0.54