From d0f890cd3694f4270ec7b2d6003ba9b19ba57bde Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 30 Apr 2017 04:13:04 +0200 Subject: minor store file size optimization --- src/hub/src/spreadspace.org/sfive/s5typesStore.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/hub/src/spreadspace.org/sfive/s5typesStore.go b/src/hub/src/spreadspace.org/sfive/s5typesStore.go index 7154740..e940dff 100644 --- a/src/hub/src/spreadspace.org/sfive/s5typesStore.go +++ b/src/hub/src/spreadspace.org/sfive/s5typesStore.go @@ -113,9 +113,9 @@ type dataUpdateDb struct { SourceId int `json:"si"` StartTime int64 `json:"st"` // unix timestamp in milliseconds Duration int64 `json:"du"` // duration in milliseconds - ClientCount uint `json:"cc"` - BytesReceived uint `json:"br"` - BytesSent uint `json:"bs"` + ClientCount uint `json:"cc,omitempty"` + BytesReceived uint `json:"br,omitempty"` + BytesSent uint `json:"bs,omitempty"` } func NewDataUpdateDb(v DataUpdateFull) dataUpdateDb { -- cgit v1.2.3