Skip to content

Commit

Permalink
don't prevent seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Nov 21, 2024
1 parent 7146d02 commit 805575e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/danswer/background/celery/apps/app_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,4 +457,4 @@ def reset_tenant_id(
**other_kwargs: Any,
) -> None:
"""Signal handler to reset tenant ID in context var after task ends."""
CURRENT_TENANT_ID_CONTEXTVAR.set(None)
CURRENT_TENANT_ID_CONTEXTVAR.reset()
1 change: 1 addition & 0 deletions backend/danswer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
from danswer.natural_language_processing.search_nlp_models import warm_up_cross_encoder
from danswer.search.models import SavedSearchSettings
from danswer.search.retrieval.search_runner import download_nltk_data
from danswer.seeding.load_docs import seed_initial_documents
from danswer.server.manage.llm.models import LLMProviderUpsertRequest
from danswer.server.settings.store import load_settings
from danswer.server.settings.store import store_settings
Expand Down

0 comments on commit 805575e

Please sign in to comment.