Skip to content

Exclude road variables when fetching goals#656

Merged
theospears merged 1 commit into
masterfrom
fetch-emaciated
Jul 15, 2025
Merged

Exclude road variables when fetching goals#656
theospears merged 1 commit into
masterfrom
fetch-emaciated

Conversation

@theospears
Copy link
Copy Markdown
Collaborator

Summary

For goals with auto-ratchet, the road properties can get very large. For my goals, it is approximately 50% of the total size of the goal payload. Now the server supports excluding these properties, use this to reduce network traffic.

Validation

Loaded the app and refreshed. Verified that goals still load.

@theospears theospears requested a review from a team as a code owner July 14, 2025 04:56
@krugerk
Copy link
Copy Markdown
Contributor

krugerk commented Jul 14, 2025

oh fancy. beeminder/apidocs@4a4d51f

Does this reduce (cpu/io) load on the server too?

@theospears theospears merged commit ec35086 into master Jul 15, 2025
5 checks passed
@theospears theospears deleted the fetch-emaciated branch July 15, 2025 04:56
@theospears
Copy link
Copy Markdown
Collaborator Author

Does this reduce (cpu/io) load on the server too?

I don't know. My guess would be no meaningful change.

krugerk pushed a commit to krugerk/BeeSwift that referenced this pull request Oct 29, 2025
## Summary
For goals with auto-ratchet, the road properties can get very large. For
my goals, it is approximately 50% of the total size of the goal payload.
Now the server supports excluding these properties, use this to reduce
network traffic.

## Validation
Loaded the app and refreshed. Verified that goals still load.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants