Compare commits

..

No commits in common. "661df8d37061725eb076b7237bf6d30105a968b3" and "f466c33a0f7ababdbc11fa78f265e74f6cd0ab2c" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ def send_message(msgid, is_retry=False):
if msg.sent_at: if msg.sent_at:
return return
list(send(msg.as_outbound())) send(msg.as_outbound())
msg.sent_at = timezone.now() msg.sent_at = timezone.now()
msg.save() msg.save()

View File

@ -117,7 +117,7 @@ WSGI_APPLICATION = "shiftregister.wsgi.application"
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
DATABASES = { DATABASES = {
"default": env.db_url(default=f"sqlite:///{BASE_DIR / 'db.sqlite3'}?timeout=10000"), "default": env.db_url(default=f"sqlite:///{BASE_DIR / 'db.sqlite3'}"),
} }