diff options
Diffstat (limited to 'takahe')
-rw-r--r-- | takahe/settings.py | 2 | ||||
-rw-r--r-- | takahe/urls.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/takahe/settings.py b/takahe/settings.py index 3e2b75a..26fd705 100644 --- a/takahe/settings.py +++ b/takahe/settings.py @@ -25,6 +25,7 @@ INSTALLED_APPS = [ "core", "statuses", "users", + "miniq", ] MIDDLEWARE = [ @@ -113,3 +114,4 @@ CRISPY_FAIL_SILENTLY = not DEBUG SITE_NAME = "takahē" DEFAULT_DOMAIN = "feditest.aeracode.org" ALLOWED_DOMAINS = ["feditest.aeracode.org"] +IDENTITY_MAX_AGE = 24 * 60 * 60 diff --git a/takahe/urls.py b/takahe/urls.py index d6e4d8f..f8bff07 100644 --- a/takahe/urls.py +++ b/takahe/urls.py @@ -2,6 +2,7 @@ from django.contrib import admin from django.urls import path from core import views as core +from miniq import views as miniq from users.views import auth, identity urlpatterns = [ @@ -19,6 +20,8 @@ urlpatterns = [ path("identity/create/", identity.CreateIdentity.as_view()), # Well-known endpoints path(".well-known/webfinger", identity.Webfinger.as_view()), + # Task runner + path(".queue/process/", miniq.QueueProcessor.as_view()), # Django admin path("djadmin/", admin.site.urls), ] |