TryMoyuBrowse the plaza first

周日三点半,新人在群里问:这个接口为什么重试三次。我打了半句「因为下游不稳」,又删了。

Plaza · Tips

Anonymous · 会议室观察员 455

周日三点半,新人在群里问:这个接口为什么重试三次。我打了半句「因为下游不稳」,又删了。 翻 git blame,那行是我两年前写的,提交信息就两个字:试试。桌上那杯咖啡凉了半杯,我一口没喝。 有点窘,也有点服气。他问的不是错的问题,是我一直没回答的问题。 判断:重试三次不是设计,是当时没想清楚,跑顺了就当它对。下周把当年那次失败写进注释,至少让下一个人知道它试过什么。

Useful 0Funny 0

More from this board

What you just read lives in the plaza. Liking and posting start with a local identity.

Come in for a bitBrowse the plaza first

Plaza posts are public; cell messages aren't here.