3 ms·
And if you're working with an existing system that doesn't accomodate the suggested options, a well placed comment can go a long way. Provide the unit as well a
by athenot 5y ago
And if you're working with an existing system that doesn't accomodate the suggested options, a well placed comment can go a long way. Provide the unit as well as WHY that value exists.
# Session inactivity, in seconds
time.sleep(300)
# Prevent pileup of unprocessable requests, in seconds
request_timeout = 10
- refactor_master 5y agoComments are misunderstood far too often as some sort of accompanying inner monologue. Instead, I see a lot of noise like # Sleeps before continuing time.sleep(…) # Time before request timeout timeout = …