Skip to content

Commit

Permalink
1.2.0.54
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvees committed Apr 18, 2018
1 parent a184ed9 commit 013a3d3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
6 changes: 3 additions & 3 deletions src/Agent.Cocohub/Agent.Cocohub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.0.13</Version>
<FileVersion>1.0.0.13</FileVersion>
<AssemblyVersion>1.0.0.13</AssemblyVersion>
<Version>1.0.0.14</Version>
<FileVersion>1.0.0.14</FileVersion>
<AssemblyVersion>1.0.0.14</AssemblyVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Logger.Cocohub/Core/CoreThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/Logger.Cocohub/Logger.Cocohub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.0.16</Version>
<AssemblyVersion>1.0.0.16</AssemblyVersion>
<FileVersion>1.0.0.16</FileVersion>
<Version>1.0.0.17</Version>
<AssemblyVersion>1.0.0.17</AssemblyVersion>
<FileVersion>1.0.0.17</FileVersion>
</PropertyGroup>

</Project>
13 changes: 2 additions & 11 deletions src/MultiTree.Cocohub/Tree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions src/Tracer.Cocohub/Tracer.Cocohub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<AssemblyName>Tracer.Cocohub</AssemblyName>
<RootNamespace>Tracer.Cocohub</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.2.0.53</Version>
<AssemblyVersion>1.2.0.53</AssemblyVersion>
<FileVersion>1.2.0.53</FileVersion>
<Version>1.2.0.54</Version>
<AssemblyVersion>1.2.0.54</AssemblyVersion>
<FileVersion>1.2.0.54</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 013a3d3

Please sign in to comment.