diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-04-30 04:13:04 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-04-30 04:13:04 +0200 |
commit | d0f890cd3694f4270ec7b2d6003ba9b19ba57bde (patch) | |
tree | bdcd4cb7f9fbf707457e731e5a4793b3f51281d3 | |
parent | readded basic append/fetch test and benchmark (diff) |
minor store file size optimization
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5typesStore.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |