Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

BlackRock changes #121

Merged
4 commits merged into from Oct 16, 2018
Merged

BlackRock changes #121

4 commits merged into from Oct 16, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jul 26, 2018

When calling getAllUsers() the method queries for all Symphony user ids, and then creates a bunch of threads that each queries Symphony POD for the information about a user id. The code currently allows 5 seconds for all users to be returned. After 5 seconds it returns the subset of users that have been added; in BlackRock this means calls to getAllUsers() only returns one third of all users. Additionally the flag indicating if a given SymUser is active, e.g. their account is enabled, is not set.

This pull request:

  • Leaves the default time for waiting for all user data to be returned (unchanged) at 5 seconds
  • Allows the default time to be modified by setting SYMPHONY_GET_ALL_USERS_TIMEOUT as a VM argument, e.g. for 2 minutes -DSYMPHONY_GET_ALL_USERS_TIMEOUT=120
  • Sets the active flag on SymUser when calling getAllUsersWithDetails()

blackrock-engineering added 3 commits July 26, 2018 10:17
complete.
2. Set 'active' flag on SymUser when calling getAllUsersWithDetails().
@ghost ghost requested a review from ftbb July 26, 2018 09:38
SymphonyClientConfig (in response to pull request comments).
@ghost
Copy link
Author

ghost commented Aug 22, 2018

Updated code in line with previous comments.

Thoughts?

@ghost ghost self-assigned this Aug 23, 2018
@ghost
Copy link
Author

ghost commented Oct 2, 2018

I will merge this pull request on Tuesday 16th October (2 weeks away).

Please raise any concerns prior to this date.

@ghost ghost merged commit d91f16d into symphonyoss:develop Oct 16, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants