summaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'jobs')
-rw-r--r--jobs/jobs_watcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/jobs_watcher.go b/jobs/jobs_watcher.go
index 5979d6207..5892e3b1c 100644
--- a/jobs/jobs_watcher.go
+++ b/jobs/jobs_watcher.go
@@ -79,7 +79,7 @@ func (watcher *Watcher) PollAndNotify() {
default:
}
}
- } else if js.Type == model.JOB_TYPE_SEARCH_INDEXING {
+ } else if js.Type == model.JOB_TYPE_ELASTICSEARCH_POST_INDEXING {
if watcher.workers.ElasticsearchIndexing != nil {
select {
case watcher.workers.ElasticsearchIndexing.JobChannel() <- j: