Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Fix loadEntries so sphere is only opened once #883

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

gordonbrander
Copy link
Collaborator

@gordonbrander gordonbrander commented Aug 30, 2023

UserProfileService.loadEntries was previously opening a sphere for the address on every turn of the for loop.

This PR fixes the logic so the sphere is only opened once, at beginning of function call.

`UserProfileService.loadEntries` was previously opening a sphere for the
address on every turn of the for loop. This is very inefficient.

This PR fixes the logic so the sphere is only opened once, at beginning
of function call.
@gordonbrander gordonbrander added the Bug Something isn't working label Aug 30, 2023
Copy link
Collaborator

@bfollington bfollington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice find.

@bfollington bfollington merged commit 827cf5e into main Sep 5, 2023
@bfollington bfollington deleted the 2023-08-30-fix-load-entries-sphere-open branch September 5, 2023 01:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
Status: 🌱 Done
Development

Successfully merging this pull request may close these issues.

2 participants