[Why] We need update doc(job) to ES completed, then send delimiter task to task-queue
Signed-off-by: Lu Weitao luweitaobe@163.com --- src/extract-stats/stats_worker.cr | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/extract-stats/stats_worker.cr b/src/extract-stats/stats_worker.cr index 45b75a3..56dad9e 100644 --- a/src/extract-stats/stats_worker.cr +++ b/src/extract-stats/stats_worker.cr @@ -62,6 +62,7 @@ class StatsWorker @es.@client.update( { :index => "jobs", :type => "_doc", + :refresh => "wait_for", :id => job_id, :body => {:doc => update_content}, }
On Wed, Apr 07, 2021 at 02:42:23PM +0800, Lu Weitao wrote:
[Why] We need update doc(job) to ES completed, then send delimiter task to task-queue
your changelog is more than 75 char, pls improve it.
-------- Thanks Yu Chuan
Signed-off-by: Lu Weitao luweitaobe@163.com
src/extract-stats/stats_worker.cr | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/extract-stats/stats_worker.cr b/src/extract-stats/stats_worker.cr index 45b75a3..56dad9e 100644 --- a/src/extract-stats/stats_worker.cr +++ b/src/extract-stats/stats_worker.cr @@ -62,6 +62,7 @@ class StatsWorker @es.@client.update( { :index => "jobs", :type => "_doc",
:refresh => "wait_for", :id => job_id, :body => {:doc => update_content}, }
-- 2.23.0