Add a deadline for open messages with a timeout

There's no point in performing the work for messages from workers that
have abandoned listening for a request from couch_server. This change
adds a deadline value to each timeout open message. If couch_server sees
one of these after the deadline has passed it will return an error
(although the process may not even be alive any longer) and then
continue handling messages.
1 file changed