logoalt Hacker News

wmanleyyesterday at 7:41 AM0 repliesview on HN

Retries won’t work in that case. Would be better to have two endpoints: get the time in x seconds and wait until time passed. That way retrying the wait endpoint will work fine and if time hasn’t elapsed it can just curl itself with the same arguments.