diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-04-23 19:13:07 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-04-23 19:13:07 +0200 |
commit | fcf90066c7175e6d7a64575170b46595bff6da32 (patch) | |
tree | 9f8cc394eb16e0232a5a630813479466de717589 /src | |
parent | no 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.go | 1 |
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 |