Skip to content
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

initial fixes for 0.8 hotfix #161

Merged
merged 5 commits into from
Jun 4, 2024
Merged

initial fixes for 0.8 hotfix #161

merged 5 commits into from
Jun 4, 2024

Conversation

cjlapao
Copy link
Collaborator

@cjlapao cjlapao commented Jun 3, 2024

Description

Fixed

  • Fixed an issue where we were trying to get the virtual machines for other users
    when not being a super admin

Changed

  • Moved database saving process to a 5 minutes setting to avoid overloading the
    database with too many requests
  • Changed the way the orchestrator was checking for VMs status changes to avoid
    overloading the database
  • Moved all the old commands to the new exec with context to enable timeouts
  • Added a 30 seconds timeout when checking the status of the local vms

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly

@cjlapao cjlapao requested review from alevlasu and polonius as code owners June 3, 2024 13:15
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Jun 3, 2024
@cjlapao cjlapao modified the milestones: 0.7.0, 0.8.0 Jun 3, 2024
@cjlapao cjlapao self-assigned this Jun 3, 2024
src/main.go Fixed Show fixed Hide fixed
src/main.go Fixed Show resolved Hide resolved
src/helpers/os.go Fixed Show resolved Hide resolved
src/helpers/os.go Fixed Show resolved Hide resolved
src/data/main.go Fixed Show resolved Hide resolved
@cjlapao cjlapao merged commit 7688f2d into main Jun 4, 2024
6 checks passed
@cjlapao cjlapao deleted the hotfixes-030624 branch June 4, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant