summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-04-23 19:13:07 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-04-23 19:13:07 +0200
commitfcf90066c7175e6d7a64575170b46595bff6da32 (patch)
tree9f8cc394eb16e0232a5a630813479466de717589 /src
parentno warning on expected error on client disconnect (diff)
set fill precentage for client data bucket to 100%
Diffstat (limited to 'src')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5store.go b/src/hub/src/spreadspace.org/sfive/s5store.go
index bbfce00..64424dc 100644
--- a/src/hub/src/spreadspace.org/sfive/s5store.go
+++ b/src/hub/src/spreadspace.org/sfive/s5store.go
@@ -290,6 +290,7 @@ func (s sqliteStore) insertDataUpdateClientEntries(cd []ClientData, du dataUpdat
}
return s.dbBolt.Update(func(tx *bolt.Tx) error {
b := tx.Bucket([]byte(clientDataBn))
+ b.FillPercent = 1.0 // we only do append
jsonData, err := json.Marshal(cd)
if err != nil {
return err