Skip to content

Commit 5a2f199

Browse files
committed
removed the caching implementation for the createGroup
1 parent 83cee4f commit 5a2f199

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/services/GroupService.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,6 @@ async function createGroup(currentUser, data) {
192192
await helper.postBusEvent(config.KAFKA_GROUP_CREATE_TOPIC, group)
193193
await tx.commit()
194194

195-
// do not set the cache as while creating the groups is not having the `oldId`
196-
// const cache = await helper.getCacheInstance()
197-
// cache.set(group.id, group)
198-
// cache.set(`${group.id}-members`, [])
199-
200195
return group
201196
} catch (error) {
202197
logger.error(error)

0 commit comments

Comments
 (0)