Agent641@lemmy.world to Programmer Humor@programming.dev · 4 months agoClock but the PM quit and was replaced halfway through the project. Handover instructions: "Make the clock hands show the current time"lemmy.worldimagemessage-square32linkfedilinkarrow-up1600arrow-down19
arrow-up1591arrow-down1imageClock but the PM quit and was replaced halfway through the project. Handover instructions: "Make the clock hands show the current time"lemmy.worldAgent641@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square32linkfedilink
minus-squareSolemarc@lemmy.worldlinkfedilinkarrow-up16·4 months agoPolling the API every second, are you crazy?!
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up7·4 months agoWhen an API request fails, the seconds clock handle becomes red, and the time health management microservice sends an alert SMS to your phone once per second (scaled with the number of clients)
minus-squareAgent641@lemmy.worldOPlinkfedilinkarrow-up5·4 months agoHow will the system know when to poll the API if it doesn’t know seconds?
Polling the API every second, are you crazy?!
When an API request fails, the seconds clock handle becomes red, and the time health management microservice sends an alert SMS to your phone once per second (scaled with the number of clients)
How will the system know when to poll the API if it doesn’t know seconds?
It can just sleep(1);