squashed old attempt

Refactor

Improved test

Revert "Use SimpleWorker for the job test"

This reverts commit f7ea07d19a43ba0455d3a251c216c50f94a1ac66.

Force job to run

Empty queue before bursting jobs

Added test

Updated test

Switched json encoder

Removed call to doveadm on user login

Fixed issues, updated doc

Reduce doveadm calls
This commit is contained in:
Spitap
2023-11-07 19:43:44 +01:00
committed by Spitfireap
parent cd85b5a725
commit 7da3017745
26 changed files with 413 additions and 50 deletions
+5
View File
@@ -225,6 +225,8 @@ SPECTACULAR_SETTINGS = {
# MODOBOA_CUSTOM_LOGO = os.path.join(MEDIA_URL, "custom_logo.png")
# DOVECOT_LOOKUP_PATH = ('/path/to/dovecot', )
DOVECOT_USER="root"
MODOBOA_API_URL = 'https://api.modoboa.org/1/'
@@ -243,6 +245,9 @@ RQ_QUEUES = {
'dkim': {
'URL': REDIS_URL,
},
'modoboa': {
'URL': REDIS_URL,
},
}
# Password validation