Skip to content

Commit 030084f

Browse files
committed
✨(backend) add async_mode flag
the command must be killable. this adds a async_mode flag to preserve async feature and allow running sync. Signed-off-by: charles <charles.englebert@protonmail.com>
1 parent d7b878d commit 030084f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/backend/core/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def run_indexing_view(request: HttpRequest):
248248
upper_time_bound=convert_to_isoformat(
249249
request.POST.get("upper_time_bound")
250250
),
251+
async_mode=True,
251252
)
252253
messages.success(request, _("Indexing triggered!"))
253254
else:

0 commit comments

Comments
 (0)