-
Notifications
You must be signed in to change notification settings - Fork 49
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
Update quota to "non-enforce" mode. #870
Labels
3
Estimate - m - This is a small change, but there's some uncertainty.
Comments
jrconlin
added
the
3
Estimate - m - This is a small change, but there's some uncertainty.
label
Oct 21, 2020
jrconlin
added a commit
that referenced
this issue
Oct 26, 2020
Adds `SYNC_ENFORCE_QUOTA` / `--enforce_quota` flag which will force an error if a user exceeds quota. So for the record: `SYNC_LIMITS__MAX_QUOTA_LIMIT` => Sets the quota limit (default 2GB) `SYNC_ENABLE_QUOTA` => Determine if quota calcs should be done `SYNC_ENFORCE_QUOTA` => Determine if over quota errors are returned Closes #870
jrconlin
added a commit
that referenced
this issue
Oct 26, 2020
Adds `SYNC_ENFORCE_QUOTA` / `--enforce_quota` flag which will force an error if a user exceeds quota. So for the record: `SYNC_LIMITS__MAX_QUOTA_LIMIT` => Sets the quota limit (default 2GB) `SYNC_ENABLE_QUOTA` => Determine if quota calcs should be done `SYNC_ENFORCE_QUOTA` => Determine if over quota errors are returned Closes #870
jrconlin
added a commit
that referenced
this issue
Nov 9, 2020
Adds `SYNC_ENFORCE_QUOTA` / `--enforce_quota` flag which will force an error if a user exceeds quota. So for the record: `SYNC_LIMITS__MAX_QUOTA_LIMIT` => Sets the quota limit (default 2GB) `SYNC_ENABLE_QUOTA` => Determine if quota calcs should be done `SYNC_ENFORCE_QUOTA` => Determine if over quota errors are returned `SYNC_LIMITS__MAX_RECORDS` => Upper max number of records we will attempt to fetch from the db. Closes #870
jrconlin
added a commit
that referenced
this issue
Nov 9, 2020
Adds `SYNC_ENFORCE_QUOTA` / `--enforce_quota` flag which will force an error if a user exceeds quota. So for the record: `SYNC_LIMITS__MAX_QUOTA_LIMIT` => Sets the quota limit (default 2GB) `SYNC_ENABLE_QUOTA` => Determine if quota calcs should be done `SYNC_ENFORCE_QUOTA` => Determine if over quota errors are returned `SYNC_LIMITS__MAX_RECORDS` => Upper max number of records we will attempt to fetch from the db. Closes #870
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A quota violation is logged, but no quota specific error is returned to the user.
Make sure that there is a metric reflecting the time of quota calculation per user and that the over quota error is logged to sentry.
The text was updated successfully, but these errors were encountered: