Compare commits

..

No commits in common. "302ef16975407a4439cd1d5552047c317488fc0b" and "60d34bdf0d7e809d0cf602a2d7d9694fc324bc61" have entirely different histories.

3 changed files with 0 additions and 39 deletions

View file

@ -31,17 +31,7 @@ EMAIL_USE_SSL=False
# Connection timeout in seconds # Connection timeout in seconds
EMAIL_TIMEOUT=10 EMAIL_TIMEOUT=10
# PostgreSQL Configuration
POSTGRES_PASSWORD=
POSTGRES_USER=ttvdrops
POSTGRES_DB=ttvdrops
# PostgreSQL Host and Port
POSTGRES_HOST=/run/postgresql
# Note: Changed from 5432 to 6432 to use PgBouncer
POSTGRES_PORT=5432
# Where to store Twitch API responses # Where to store Twitch API responses
TTVDROPS_IMPORTED_DIR=/mnt/fourteen/Data/Responses/imported TTVDROPS_IMPORTED_DIR=/mnt/fourteen/Data/Responses/imported
TTVDROPS_BROKEN_DIR=/mnt/fourteen/Data/Responses/broken TTVDROPS_BROKEN_DIR=/mnt/fourteen/Data/Responses/broken

View file

@ -1,34 +1,6 @@
import os import os
from celery import Celery from celery import Celery
from celery import Signature
from celery.app.task import Task
from celery.contrib.abortable import AbortableAsyncResult
from celery.contrib.abortable import AbortableTask
from celery.contrib.django.task import DjangoTask
from celery.local import class_property
from celery.result import AsyncResult
from celery.utils.objects import FallbackContext
classes = [
Celery,
Task,
DjangoTask,
AbortableTask,
AsyncResult,
AbortableAsyncResult,
Signature,
FallbackContext,
class_property,
]
for cls in classes:
setattr( # noqa: B010
cls,
"__class_getitem__",
classmethod(lambda cls, *args, **kwargs: cls), # noqa: ARG005
)
# Set the default Django settings module for the 'celery' program. # Set the default Django settings module for the 'celery' program.
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")

View file

@ -36,7 +36,6 @@ dependencies = [
[dependency-groups] [dependency-groups]
dev = [ dev = [
"celery-types",
"django-stubs", "django-stubs",
"djlint", "djlint",
"hypothesis[django]", "hypothesis[django]",