-
Notifications
You must be signed in to change notification settings - Fork 199
Refactoring proxy lifetime to only shutdown when proxy is out-of-date. #839
Conversation
Question about how the proxy is initially deployed: |
Exception while executing function: Functions.proxy Result: Failure |
Hello @bmc-msft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Summary of the Pull Request
What is this about?
We'd like to refactor the proxy lifecycle to only delete when the proxy is out-of-date - i.e. when the proxy is older than 7 days or a mismatched version. I've changed two files, proxy.py and timer_daily\init.py to check for the version and timestamp before stopping a live proxy.
PR Checklist
Info on Pull Request
What does this include?
Changes to two files:
proxy.py:
timer_daily/init.py
Validation Steps Performed
Deploying test instance to determine if proxy lives past a single day.