mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2024-12-05 01:26:54 +00:00
Index in real time, we don't do so many transactions
This commit is contained in:
parent
6c59bf11be
commit
bbcfab1dcb
@ -189,6 +189,8 @@ HAYSTACK_CONNECTIONS = {
|
||||
}
|
||||
}
|
||||
|
||||
HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'
|
||||
|
||||
_db_type = os.getenv('DJANGO_DB_TYPE', 'sqlite').lower()
|
||||
|
||||
if _db_type == 'mysql' or _db_type.startswith('postgres') or _db_type == 'psql':
|
||||
|
Loading…
Reference in New Issue
Block a user