Fix mismatched types in PubSubServerTagStatsStream schema

This commit is contained in:
John Colvin committed 2024-11-29 14:57:43 +00:00
1 parent adfc0b5235
commit e4745a587f
2 files changed
+5 -5

No files matched your search

@@ -15,12 +15,12 @@ namespace bts {
new ColumnInfo("server", 1, typeof(string)),
new ColumnInfo("tag", 2, typeof(string)),
new ColumnInfo("n_updates", 3, typeof(int)),
new ColumnInfo("total_bytes", 4, typeof(int)),
new ColumnInfo("total_bytes", 4, typeof(long)),
new ColumnInfo("min_size", 5, typeof(int)),
new ColumnInfo("max_size", 6, typeof(int)),
new ColumnInfo("last_update_size", 7, typeof(int)),
new ColumnInfo("average_size", 8, typeof(double)),
new ColumnInfo("last_update_time", 9, typeof(DateTime)));
new ColumnInfo("last_update_time", 9, typeof(long)));
private IDictionary<string, TagStatsInfo> _tag_map = new Dictionary<string, TagStatsInfo>();
public PubSubServerTagStatsStream(ViewStreamDatabase vsd) {
@@ -17,8 +17,8 @@ namespace bts {
Tuple.Create("id", TypeCode.Int32),
Tuple.Create("hb_sent_time", TypeCode.Int64),
Tuple.Create("hb_recv_time", TypeCode.Int64),
Tuple.Create("travel_period", TypeCode.Int32),
Tuple.Create("time_since_last_recv_msecs", TypeCode.Int32)
Tuple.Create("travel_period", TypeCode.Int64),
Tuple.Create("time_since_last_recv_msecs", TypeCode.Int64)
);
}
public PubsubHeartbeatStream() :
@@ -73,4 +73,4 @@ namespace bts {
}
}
}
}