Skip to content

Commit 9828cb5

Browse files
committed
mailbot: record time we refreshed maintainers
We intended to refresh maintainers every 24h but the refresh time is not updated, so we wait 24h the first time, and then refresh on every mail fetch (every 2min). Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 0b58e23 commit 9828cb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mailbot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ def main():
753753
dr.alias_section('submitting-patches', 'submit')
754754
dr.alias_section('submitting-patches', 'sub')
755755

756+
doc_load_time = req_time
757+
756758
for t in mail_repos.values():
757759
check_new(t, pw, dr)
758760

0 commit comments

Comments
 (0)