Skip to content

Commit

Permalink
update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak committed Apr 11, 2024
1 parent f4e3b7a commit 4fea251
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
17 changes: 8 additions & 9 deletions DOSPORTAL/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
'guardian',
'prettyjson',
# 'organizations',
'rest_framework'
]

MARKDOWNX_MARKDOWN_EXTENSIONS = [
Expand Down Expand Up @@ -217,16 +216,16 @@


Q_CLUSTER = {
'name': 'dosportal',
'retry': 10,
#'workers': 4,
#'recycle': 500,
'timeout': 5,
#'compress': True,
'name': 'Worker',
'retry': 5,
'workers': 4,
'recycle': 500,
'timeout': 60,
'compress': True,
#'save_limit': 250,
#'queue_limit': 500,
#'cpu_affinity': 1,
#'label': 'Worker',
'cpu_affinity': 1,
'label': 'Async dosportal worker',
#'orm': 'default',
'redis': {
'host': '10.5.0.7',
Expand Down
1 change: 0 additions & 1 deletion DOSPORTAL/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

path('login/', login_view, name='login'),
path('markdownx/', include('markdownx.urls')),
path('api-auth/', include('rest_framework.urls')),

#path(r'accounts/', include('organizations.urls')),
#path(r'invitations/', include(invitation_backend().get_urls())),
Expand Down

0 comments on commit 4fea251

Please sign in to comment.