fix: back to at least part-parallism, except sqlite
This commit is contained in:
1 parent
7c73b984dc
commit
5c138d54b8
8 files changed
+278
-100
No files matched your search
@@ -236,7 +236,12 @@ defmodule BDS.Desktop.ShellCommands do
|
||||
%{
|
||||
name: "Rebuild Posts From Files",
|
||||
work: fn report ->
|
||||
{:ok, posts} = Maintenance.rebuild_from_filesystem(project.id, "post", on_progress: report)
|
||||
{:ok, posts} =
|
||||
Maintenance.rebuild_from_filesystem(project.id, "post",
|
||||
on_progress: report,
|
||||
rebuild_embeddings: false
|
||||
)
|
||||
|
||||
report.(1.0, "Post rebuild complete")
|
||||
%{project_id: project.id, counts: %{posts: length(posts)}}
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user