Skip to content

Optimize: Skip setting quota when unchanged#855

Open
Treetoo wants to merge 1 commit intoCESNET:mainfrom
Treetoo:xhorna/repeated_quota_calls
Open

Optimize: Skip setting quota when unchanged#855
Treetoo wants to merge 1 commit intoCESNET:mainfrom
Treetoo:xhorna/repeated_quota_calls

Conversation

@Treetoo
Copy link

@Treetoo Treetoo commented Feb 25, 2026

  • do not set quota if it is unchanged
  • do not set quotas for expired users
  • fix: first create directories, then set quotas
  • fix typo: "$QUOTA_ENABLED_FILE}" to "$QUOTA_ENABLED_FILE"

 - do not set quota if it is unchanged
 - do not set quotas for expired users
 - fix: first create directories, then set quotas
 - fix typo: "$QUOTA_ENABLED_FILE}" to "$QUOTA_ENABLED_FILE"
Copy link
Contributor

@zlamalp zlamalp left a comment

Choose a reason for hiding this comment

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

Hi,

first thank you for this PR!

Unfortunately, GitHub is used only as public mirror. We accept merge requests at our GitLab repository: https://gitlab.ics.muni.cz/perun/perun-idm/perun-services

Please make your contribution on GitLab and be sure to read contributing guides.

Change/code itself is OK by me and Zdeněk told me it has been already tested on production environment. Just a few notes:

  • We use conventional commits and semantic release so first line of commit message should be like feat(fs_home): skip setting quota when unchanged.
  • Please update also changelog file, which is used to generate new version of deb/rpm packages when this change gets released.

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