Design pattern for “retrying” logic that failed?

后端 未结 11 1305
挽巷
挽巷 2020-12-07 16:10

I\'m writing some reconnect logic to periodically attempt to establish a connection to a remote endpoint which went down. Essentially, the code looks like this:



        
11条回答
提交回复
热议问题