mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
✨(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>
This commit is contained in:
parent
016962299f
commit
980befaef0
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ def run_indexing_view(request: HttpRequest):
|
|||
upper_time_bound=convert_to_isoformat(
|
||||
request.POST.get("upper_time_bound")
|
||||
),
|
||||
async_mode=True,
|
||||
)
|
||||
messages.success(request, _("Indexing triggered!"))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue