Skip to content

Commit

Permalink
[UPD] Tweak some server settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mccwdev committed Sep 29, 2021
1 parent 752aa3b commit 97943d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocksmurfer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def static_from_root():
limiter = Limiter(
app,
key_func=get_remote_address,
default_limits=["200 per day", "50 per hour"]
default_limits=["2000 per day", "500 per hour"]
)

from blocksmurfer.main import bp as main_bp
Expand Down
2 changes: 1 addition & 1 deletion boot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
source venv/bin/activate
source ~/venv/blocksmurfer/bin/activate
#flask db upgrade
#flask translate compile
exec gunicorn -b localhost:5000 --access-logfile - --error-logfile - app:app --workers 4
Expand Down

0 comments on commit 97943d4

Please sign in to comment.