mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 05:34:14 -04:00
lazy-load loadfire and ldap lib for faster startup time
This commit is contained in:
parent
563e4de678
commit
1492c02bfa
4 changed files with 71 additions and 52 deletions
|
@ -600,9 +600,9 @@ if DEBUG_REQUESTS_TRACKER:
|
|||
),
|
||||
}
|
||||
|
||||
# https://docs.pydantic.dev/logfire/integrations/django/ (similar to DataDog / NewRelic / etc.)
|
||||
DEBUG_LOGFIRE = False
|
||||
DEBUG_LOGFIRE = DEBUG_LOGFIRE and (DATA_DIR / '.logfire').is_dir()
|
||||
# # https://docs.pydantic.dev/logfire/integrations/django/ (similar to DataDog / NewRelic / etc.)
|
||||
# DEBUG_LOGFIRE = False
|
||||
# DEBUG_LOGFIRE = DEBUG_LOGFIRE and (DATA_DIR / '.logfire').is_dir()
|
||||
|
||||
|
||||
# For usage with https://www.jetadmin.io/integrations/django
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue