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

Add Rate Limit details #158

Merged
merged 5 commits into from
Aug 1, 2023
Merged

Add Rate Limit details #158

merged 5 commits into from
Aug 1, 2023

Conversation

hardillb
Copy link
Contributor

part of FlowFuse/flowfuse#2530

Description

Allow rate limiting to be enabled

Related Issue(s)

FlowFuse/flowfuse#2530

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on flowforge/helm to update ConfigMap Template
    • Issue/PR raised on flowforge/CloudProject to update values for Staging/Production

Labels

  • Backport needed? -> add the backport label
  • Includes a DB migration? -> add the area:migration label

@hardillb hardillb added this to the 1.10 milestone Jul 31, 2023
@hardillb hardillb requested a review from Steve-Mcl July 31, 2023 17:15
@hardillb hardillb self-assigned this Jul 31, 2023
@hardillb hardillb requested a review from Steve-Mcl August 1, 2023 08:57
helm/flowforge/README.md Outdated Show resolved Hide resolved
@hardillb hardillb requested a review from Steve-Mcl August 1, 2023 09:06
enabled: false
global: true
max: 1000
maxAnonymous: 10
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
maxAnonymous: 10

According to our defaults and docs, this should not be set.

Copy link
Contributor

Choose a reason for hiding this comment

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

perhaps it could be undefined if it needs to be present?

Copy link
Contributor Author

@hardillb hardillb Aug 1, 2023

Choose a reason for hiding this comment

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

Having it as an example value in the flowforge.yml STRONGLY implies it is the default value. If that is not the case then it needs be updated.

Also it's not clear, is this a fastify-rate-limit value or something you've added?

@hardillb hardillb requested a review from Steve-Mcl August 1, 2023 09:23
@Steve-Mcl
Copy link
Contributor

@hardillb. approved. However I will not merge any of these - I will leave merging for you to coordinate appropriately.

@hardillb hardillb merged commit 3b66d52 into main Aug 1, 2023
1 check passed
@hardillb hardillb deleted the rate-limit-settings branch August 1, 2023 09:54
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.

None yet

2 participants