You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shift around some of the dehydrated cleanup logic.
Building on top of
#206, some tweaks:
- There was similar logic to cleanup dehydrated files both in the
hook file (if the hook succeeded) and in the SSL provider (in case the
dehydrated call failed). Since this means the files are deleted in
either case (success or failure), try to simplify this by shifting the
logic to always run in the SSL provider regardless of success status.
- For the new delete logic introduced in the SSL provider, switch it to
use non-blocking shell execution to prevent the `rm` from potentially
blocking (even though this should be quick).
- Since dehydrated's files are always being removed now, remove the
logic we had in place to handle an edge-case of storage failing, but
files remaining in dehydrated's cache, since this scenario is now
moot.
- Update tests to account for new delete logic..
0 commit comments