From 59620f254d64d226793f1528cd70a2d181efbb2c Mon Sep 17 00:00:00 2001 From: Luke Venediger Date: Fri, 6 Dec 2013 14:27:48 +0200 Subject: [PATCH] Fixed a bug and updated version file --- statsd.net.shared/Properties/AssemblyInfo.cs | 4 ++-- statsd.net.shared/Structures/GaugesBucket.cs | 2 +- statsd.net/Framework/TimedGaugeAggregatorBlockFactory.cs | 1 + statsd.net/Properties/AssemblyInfo.cs | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/statsd.net.shared/Properties/AssemblyInfo.cs b/statsd.net.shared/Properties/AssemblyInfo.cs index 2e82cf7..691a1b9 100644 --- a/statsd.net.shared/Properties/AssemblyInfo.cs +++ b/statsd.net.shared/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.1.0")] -[assembly: AssemblyFileVersion("1.3.1.0")] +[assembly: AssemblyVersion("1.4.0.2")] +[assembly: AssemblyFileVersion("1.4.0.2")] diff --git a/statsd.net.shared/Structures/GaugesBucket.cs b/statsd.net.shared/Structures/GaugesBucket.cs index 3d531d2..cbc8e59 100644 --- a/statsd.net.shared/Structures/GaugesBucket.cs +++ b/statsd.net.shared/Structures/GaugesBucket.cs @@ -15,7 +15,7 @@ public class GaugesBucket : Bucket public GaugesBucket(KeyValuePair[] gauges, long epoch, string rootNamespace = "") : base(BucketType.Count, epoch, rootNamespace) { - Gauges = Gauges; + Gauges = gauges; } public override GraphiteLine[] ToLines() diff --git a/statsd.net/Framework/TimedGaugeAggregatorBlockFactory.cs b/statsd.net/Framework/TimedGaugeAggregatorBlockFactory.cs index 53a0615..5dc88e4 100644 --- a/statsd.net/Framework/TimedGaugeAggregatorBlockFactory.cs +++ b/statsd.net/Framework/TimedGaugeAggregatorBlockFactory.cs @@ -61,6 +61,7 @@ public static ActionBlock CreateBlock(ITargetBlock target } gauges.Clear(); + target.Post(bucket); }; incoming.Completion.ContinueWith(p => diff --git a/statsd.net/Properties/AssemblyInfo.cs b/statsd.net/Properties/AssemblyInfo.cs index b241b56..33a1517 100644 --- a/statsd.net/Properties/AssemblyInfo.cs +++ b/statsd.net/Properties/AssemblyInfo.cs @@ -33,5 +33,5 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] // Uses SEMVER: http://semver.org/ -[assembly: AssemblyVersion("1.4.0.1")] -[assembly: AssemblyFileVersion("1.4.0.1")] +[assembly: AssemblyVersion("1.4.0.2")] +[assembly: AssemblyFileVersion("1.4.0.2")]