fixses and tests for shared balances

This commit is contained in:
Radu Ioan Fericean
2014-02-27 16:54:11 +02:00
parent 49a3df285b
commit 39e93e7fb8
5 changed files with 74 additions and 4 deletions

View File

@@ -278,7 +278,7 @@ func (ms *MapStorage) GetSharedGroup(key string, checkDb bool) (sg *SharedGroup,
func (ms *MapStorage) SetSharedGroup(key string, sg *SharedGroup) (err error) {
result, err := ms.ms.Marshal(sg)
ms.dict[SHARED_GROUP_PREFIX+key] = result
//cache2go.Cache(ACTION_PREFIX+key, sg)
//cache2go.Cache(SHARED_GROUP_PREFIX+key, sg)
return
}