feat: local cache

pull/2036/head
withchao 2 years ago
parent 9e4a7d082d
commit 4a042489bf

@ -51,8 +51,8 @@ func Start(client discoveryregistry.SvcDiscoveryRegistry, server *grpc.Server) e
client,
offlinePusher,
database,
rpccache.NewGroupLocalCache(rpcclient.NewGroupRpcClient(client), rdb),
rpccache.NewConversationLocalCache(rpcclient.NewConversationRpcClient(client), rdb),
rpccache.NewGroupLocalCache(groupRpcClient, rdb),
rpccache.NewConversationLocalCache(conversationRpcClient, rdb),
&conversationRpcClient,
&groupRpcClient,
&msgRpcClient,

Loading…
Cancel
Save