Skip to content

Commit

Permalink
Update lemur.conf.py (#63)
Browse files Browse the repository at this point in the history
add certificate_reissue celery task to the schedule (to be run once per hour)
  • Loading branch information
bgres authored and GitHub Enterprise committed Feb 2, 2021
1 parent 1f2d258 commit 578b701
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lemur.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,11 @@ def get_random_secret(length):
},
'schedule': crontab(minute="*/5"), # every 5 minutes
},
'certificate_reissue': {
'task': 'lemur.common.celery.certificate_reissue',
'options': {
'expires': 180
},
'schedule': crontab(minute="*/60"), # every 60 minutes
},
}

0 comments on commit 578b701

Please sign in to comment.