diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-04-03 11:04:46 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-04-03 11:04:46 -0700 |
commit | 249fb1d41721a6fb25057f977a0a27daf773c936 (patch) | |
tree | 47f96f43e93d06f324b3730e73e6d944b9b329e2 /system/db/content.go | |
parent | b2fa4a895dea4212806c97c434119e73560e25cd (diff) |
testing alt key format in sorted buckets
Diffstat (limited to 'system/db/content.go')
-rw-r--r-- | system/db/content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/content.go b/system/db/content.go index 685ac13..3e6e5a4 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -572,7 +572,7 @@ func SortContent(namespace string) { // encode to json and store as 'i:post.Time()':post for i := range bb { - cid := fmt.Sprintf("%d:%d", i, posts[i].Time()) + cid := fmt.Sprintf("%d", posts[i].Time()) err = b.Put([]byte(cid), bb[i]) if err != nil { return err |