From 81bf66f829a744091b1cfe7818158c9855e512ee Mon Sep 17 00:00:00 2001 From: Merijn Vandenabeele Date: Wed, 3 Nov 2021 14:40:35 +0100 Subject: [PATCH] Update store.go Change field order for Int64 alignment on ARM processor --- store.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/store.go b/store.go index 9069926..850ef03 100644 --- a/store.go +++ b/store.go @@ -22,6 +22,8 @@ import ( // comparator) without first removing the existing item. Such an act would leave the item stranded in an unknown // location within the index. type Store struct { + tickerDelay int64 + Storer sync.RWMutex @@ -46,7 +48,6 @@ type Store struct { expiryNotifiers []NotifyFunc accessNotifiers []NotifyFunc - tickerDelay int64 } // NewStore returns an initialized store for you to use