drmorr on Nostr: Nope, termination grace periods don't help. For 1: if your application sometimes ...
Nope, termination grace periods don't help.
For 1: if your application sometimes takes a long time to clean up, then you have to make your termination grace period large, which means that you are _always_ sitting around for (say) 10 minutes, which is wasteful and confusing (and possibly doesn't even help, you're just guessing how long cleanup will take, and if you guess wrong you potentially have corrupted data or user errors).
For 1: if your application sometimes takes a long time to clean up, then you have to make your termination grace period large, which means that you are _always_ sitting around for (say) 10 minutes, which is wasteful and confusing (and possibly doesn't even help, you're just guessing how long cleanup will take, and if you guess wrong you potentially have corrupted data or user errors).