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, client,
offlinePusher, offlinePusher,
database, database,
rpccache.NewGroupLocalCache(rpcclient.NewGroupRpcClient(client), rdb), rpccache.NewGroupLocalCache(groupRpcClient, rdb),
rpccache.NewConversationLocalCache(rpcclient.NewConversationRpcClient(client), rdb), rpccache.NewConversationLocalCache(conversationRpcClient, rdb),
&conversationRpcClient, &conversationRpcClient,
&groupRpcClient, &groupRpcClient,
&msgRpcClient, &msgRpcClient,

Loading…
Cancel
Save