-
Notifications
You must be signed in to change notification settings - Fork 649
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
get_key_references should not subscribe to related accounts (Issue 1472) #1499
Conversation
IMO limiting this to an arbitrary value is the wrong approach. Either you want the subscriptions, or you don't. (I guess you don't, so perhaps better remove them completely.) |
I agree with @pmconrad. Likely clients will call |
get_key_references no longer subscribes to associated accounts, although it still subscribes to the passed-in keys. #1472 mentions limiting the size of final_results. Should that be an arbitrary number? Should it be configurable? Perhaps it should be done under another issue (more discussion needed)? |
I interpret the above as "set the max limit of the incoming vector to 100 items, and ask manikey123 to make the 100 configurable. Do nothing to limit the size of the returned vector." Is that the correct interpretation? |
That's my suggestion, yes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I think that's sufficient protection. There are easier ways to overload API nodes than this one.
Fixes #1472