Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisoSouza committed Jul 30, 2024
1 parent a1f4bf9 commit 6ea093b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"CELERY_RESULT_BACKEND", "redis://localhost:6379"
)

@celery.task(name="index_file")
@celery.task(name="index_full_file_content")
def index_full_file_content(content_base):
print("===========================================")
print(content_base)
Expand Down Expand Up @@ -64,7 +64,7 @@ def index_file_data(content_base: Dict) -> bool:
)
index_result: bool = manager.index_file_url(content_base)

print("[+ Embedding do arquivo: {index_result} +]")
print("[+ Index File URL result: {index_result} +]")

if index_result:
embbed_result: bool = content_base_indexer.check_if_doc_was_embedded_document(
Expand Down

0 comments on commit 6ea093b

Please sign in to comment.