Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^6: Leap second coming up. Check your date handling code (Cloudflare DNS outage)

by Corion (Patriarch)
on Jan 02, 2017 at 17:21 UTC ( [id://1178808]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Leap second coming up. Check your date handling code (Cloudflare DNS outage)
in thread Leap second coming up. Check your date handling code

How would your approach of

$rtt_max ||= $default_timeout;

have worked out if $rtt_max was -1 ?

Also, before tieing the maturity of a language to problems with its programs, have you checked if and whether time is monotonic?

Personally, I would assume that the same problematic constellation would happen with Perl, and mocking both the time and the round trip times from DNS queries in a realistic manner only makes sense if your code base is small and you already suspect a problem in that location IMO.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1178808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found