File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ class DefaultConfig:
1010 """
1111 # Flask Configuration
1212 APP_NAME = os .environ .get ('APP_NAME' )
13- SECRET_KEY = secrets . token_urlsafe ( 64 )
13+ SECRET_KEY = "e42ebf32a22c7cef7f4a33c71f90f0d8ea65e63144f952e57e1b39b26cc26a6f"
1414 PROPAGATE_EXCEPTIONS = True
1515 DEBUG = False
1616 TESTING = False
1717
1818 # Configuration of Flask-JWT-Extended
19- JWT_SECRET_KEY = secrets . token_urlsafe ( 64 )
19+ JWT_SECRET_KEY = "d7da6e940725de5a15b7e48f5a71f535a315c72a5372c1d3bb8691b38b5f29a1"
2020 # Determines the minutes that the access token remains active
2121 JWT_ACCESS_TOKEN_EXPIRES = datetime .timedelta (minutes = 30 )
2222 # Determines the days that the refresh token remains active
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ if [ "$APP_ENV" = "local" ]; then
2929 echo " Done init user-admin"
3030
3131 echo " Run app with gunicorn server..."
32- gunicorn --bind $API_HOST :$API_PORT $API_ENTRYPOINT --timeout 10 --workers 1 ;
32+ gunicorn --bind $API_HOST :$API_PORT $API_ENTRYPOINT --timeout 10 --workers 4 ;
3333fi
3434
3535if [ " $APP_ENV " = " production" ]; then
3636 echo " Run app with gunicorn server..."
37- gunicorn --bind $API_HOST :$API_PORT $API_ENTRYPOINT --timeout 10 --workers 1 ;
37+ gunicorn --bind $API_HOST :$API_PORT $API_ENTRYPOINT --timeout 10 --workers 4 ;
3838fi
You can’t perform that action at this time.
0 commit comments