fix thresholds in quota warnings
All checks were successful
/ build (push) Successful in 38s

This commit is contained in:
Christoph Haas 2025-12-30 18:50:38 +01:00
parent 87fab8c3e7
commit 8e2a0d0c88

View file

@ -54,11 +54,20 @@ quota "User quota" {
}
}
# Set one warning level to 95%
warning warn-95 {
quota_storage_percentage = 95
# Set one warning level to 100%
warning warn-100 {
quota_storage_percentage = 100
execute quota-warning {
args = 95 %{user}
args = 100 %{user}
}
}
# User is no longer over quota
warning warn-under {
quota_storage_percentage = 100
threshold = under
execute quota-warning {
args = below %{user}
}
}
}