Skip to content

Commit

Permalink
More aggressive rate limiting (#333)
Browse files Browse the repository at this point in the history
* more aggressive rate limiting

* use older node js for now

This is until we can update all our JS dependencies
  • Loading branch information
dantownsend committed Sep 11, 2023
1 parent 0636086 commit 455e615
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: "Setup Node"
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 16
- name: "Install all dependencies"
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
python-version: 3.11
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 16
- name: "Install dependencies"
run: |
pip install -r requirements/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion piccolo_admin/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def __init__(

if not rate_limit_provider:
rate_limit_provider = InMemoryLimitProvider(
limit=1000, timespan=300
limit=100, timespan=300
)

public_app.mount(
Expand Down

0 comments on commit 455e615

Please sign in to comment.