-
-
Notifications
You must be signed in to change notification settings - Fork 22
django_idom app causes a significant delay #128
-
When I do anything with Django's manage.py (migrate, collectstatic, runserver, ...), I see the two messages:
2023年02月20日T18:57:54+0000 | DEBUG | IDOM is in debug mode IDOM has detected component sessions in the database, but no timestamp was found in cache. This may indicate that the cache has been cleared.
and it currently takes ~10sec. The DB is remote.
Another scenario is when writing scratch code or tests that start with
import os import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "[myproject].settings") django.setup()
Omitting django_idom from INSTALLED_APPS removes the delay.
django-idom==3.0.0a2
idom==1.0.0a3
Beta Was this translation helpful? Give feedback.
All reactions
3.0.0a3 has been released. The ReactPy database backend is now configurable.
Replies: 1 comment 8 replies
-
Do you have a lot of Django template files?
Beta Was this translation helpful? Give feedback.
All reactions
-
As of right now, that's not a configurable setting. Good idea though, I will add that to the next version.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions
-
Will be resolved in this PR
Beta Was this translation helpful? Give feedback.
All reactions
-
3.0.0a3 has been released. The ReactPy database backend is now configurable.
Beta Was this translation helpful? Give feedback.