fix(minor): increase rate limit for web form (#24295)
increased rate limit for web form to 10 requests per minute.
This commit is contained in:
parent
c9cccf0598
commit
65af4b8dbf
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ def get_web_form_module(doc):
|
|||
|
||||
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
@rate_limit(limit=5, seconds=60)
|
||||
@rate_limit(key="web_form", limit=10, seconds=60)
|
||||
def accept(web_form, data):
|
||||
"""Save the web form"""
|
||||
data = frappe._dict(json.loads(data))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue