IsDocumentReadyAsync doesn't works when using WithSqlServerMemoryDb #895
Answered
by
dluc
peopleworks
asked this question in
1. Q&A
-
Hi, IsDocumentReadyAsync never find the document and always do the import. There is another way to do it when use WithSqlServerMemoryDb? if(!await memoryConnector.IsDocumentReadyAsync(documentId: documentId))
{
await memoryConnector.ImportDocumentAsync(
filePath: @$"wwwroot\docs\{documentId}.md",
documentId: documentId);
} Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
dluc
Nov 16, 2024
Replies: 1 comment
-
hi @peopleworks
If you’re using “volatile document storage”, I’d recommend checking that first, switching to a persistent option like disk or Azure blobs. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
peopleworks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi @peopleworks
IsDocumentReadyAsync
verifies the pipeline status within the DocumentStorage, which, based on your configuration, can reside in one of the following:If you’re using “volatile document storage”, I’d recommend checking that first, switching to a persistent option like disk or Azure blobs.