perf: 优化推送系统用户,设置有效期

pull/5972/head
ibuler 4 years ago committed by Jiangjie.Bai
parent f146873501
commit 5e6e97c822

@ -57,6 +57,7 @@ def get_push_unixlike_system_user_tasks(system_user, username=None):
'state': 'present',
'home': system_user.home or Empty,
'groups': groups or Empty,
'expires': 99999,
'comment': comment
}

Loading…
Cancel
Save