Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: cache grpc services #1182

Merged
merged 1 commit into from
Mar 28, 2016
Merged

Conversation

stephenplusplus
Copy link
Contributor

Fixes #1164

@murgatroid99 when you have a chance, could you see if this is started off in the right direction? This makes a huge difference in memory usage, but I'm wondering if there are any gotchas I need to be aware of. Thanks!

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2016
@stephenplusplus stephenplusplus force-pushed the spp--1164 branch 3 times, most recently from 2f02d70 to 024dd06 Compare March 25, 2016 12:38
@stephenplusplus
Copy link
Contributor Author

@callmehiphop this is safe for review & merge.

@stephenplusplus stephenplusplus force-pushed the spp--1164 branch 2 times, most recently from 07bad7c to a66d621 Compare March 28, 2016 14:26
var service = this.activeServiceMap_.get(serviceMapKey);

if (!service) {
service = new proto[protoOpts.service](

This comment was marked as spam.

This comment was marked as spam.

@callmehiphop callmehiphop merged commit 1374b96 into googleapis:master Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants