feat(agent): an agent that updates itself looks every 15 minutes #37
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!37
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:feat/update-15min"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
When Update Beanstalk by itself is on (the default), the app looked for a new version every hour. So a fix took up to an hour after its nightly to reach the testers. Getting Longshot #910's Windows fix onto testers' PCs waited on exactly that.
What changed
The app now looks every 15 minutes when it updates itself (
AgentUpdate.AutoEvery). With the setting off, it still looks every 6 hours and only shows the banner. The texts that said "every hour" now say "every 15 minutes": Setup's two explanations, the comment inUpdatesViewModel,agent/README.mdanddocs/using.md.Cost: one look is one request for Beanstalk's release list, about 36 KB (4 KB compressed), answered in about 0.4 s. For the 17 agents seen in the last day, that's about 68 requests and 2.4 MB an hour across all of them.
Testing
dotnet build agent/App -c Release: no warnings.