mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-02-06 10:52:59 +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()
|
_db_type = os.getenv('DJANGO_DB_TYPE', 'sqlite').lower()
|
||||||
|
|
||||||
if _db_type == 'mysql' or _db_type.startswith('postgres') or _db_type == 'psql':
|
if _db_type == 'mysql' or _db_type.startswith('postgres') or _db_type == 'psql':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user