Skip to content

Commit 3a2c466

Browse files
committed
update_index: Fix the backend in update_worker
1 parent ea3f8c9 commit 3a2c466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/management/commands/update_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def update_worker(args):
5656
index = unified_index.get_index(model)
5757
backend = haystack_connections[using].get_backend()
5858

59-
qs = index.build_queryset(start_date=start_date, end_date=end_date)
59+
qs = index.build_queryset(using=using, start_date=start_date, end_date=end_date)
6060
do_update(backend, index, qs, start, end, total, verbosity, commit, max_retries)
6161
return args
6262

0 commit comments

Comments
 (0)