feat: send email notification once the import has finished

This commit is contained in:
Hongbo Wu
2023-05-25 13:43:33 +08:00
parent 19facec4e2
commit 67014e68fd
5 changed files with 96 additions and 20 deletions

View File

@ -27,5 +27,8 @@ if (status == "imported" or status == "failed") then
-- all the records have been processed
-- update the metrics
redis.call('HSET', key, 'end_time', timestamp, 'state', 1);
return 1
end
end
return 0;