5 ms·
Idea looks really really nice. Not sure how some edge cases (?) are handled. For example if a database server goes down, my app that uses pledge needs to open
by BogusIKnow 10y ago
Idea looks really really nice.
Not sure how some edge cases (?) are handled. For example if a database server goes down, my app that uses pledge needs to open another socket to another server. Reload of changed configurations?
"Unpledge" then pledge again? Whitepaths?
- yxlx 10y agoI think being able to "unpledge" would defeat the purpose of pledge. Instead, I think the better way would be to have your app run by a parent, and when you lose connectivity to your db server, you crash your app on purpose and whenever your app crashes, parent restarts it. Problem solved, I think.
- BogusIKnow 10y agoThanks!