Skip to content
Snippets Groups Projects
Commit dce345bb authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add reported to default and from DB

parent 9fb10be1
No related tags found
4 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!78Feat cod rmq,!72Feature duplicate report tag
...@@ -39,7 +39,8 @@ record = { ...@@ -39,7 +39,8 @@ record = {
}, },
'notify': { 'notify': {
'notify_user': None 'notify_user': None
} },
'reported': False
} }
# Currently tracking users # Currently tracking users
...@@ -140,6 +141,8 @@ def task_manager(ch, method, properties, body): ...@@ -140,6 +141,8 @@ def task_manager(ch, method, properties, body):
current['verify']['subscribe_mail_list'] = user_db['subscribe_mail_list'] current['verify']['subscribe_mail_list'] = user_db['subscribe_mail_list']
current['notify']['notify_user'] = user_db['notify_user'] current['notify']['notify_user'] = user_db['notify_user']
current['reported'] = user_db['reported']
for t in ['git_commit', 'dir_verify', 'subscribe_mail_list']: for t in ['git_commit', 'dir_verify', 'subscribe_mail_list']:
if user_db[t] is None: if user_db[t] is None:
current['waiting'].add(t) current['waiting'].add(t)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment