[darcs-devel] [patch1057] correctly set curl connection timeout

Guillaume Hoffmann bugs at darcs.net
Fri Feb 22 10:10:58 UTC 2013


Guillaume Hoffmann <guillaumh at gmail.com> added the comment:

An extra patch so that we get the debug message that DARCS_CONNECTION_TIMEOUT
is not a number earlier (even before we can actually download a remote file).

I wonder if this warning would occur earlier in the code, at the haskell level?
Is it slow to call getEnv(ironment)?

Also, another patch that sets this timeout to 1 second un the test
issue1599-automatically-expire-unused-caches.sh .

3 patches for repository http://darcs.net:

Thu Feb 21 23:37:32 CET 2013  Guillaume Hoffmann <guillaumh at gmail.com>
  * set timeout to 1 second in expire-unused-caches test

Fri Feb 22 00:43:25 CET 2013  Guillaume Hoffmann <guillaumh at gmail.com>
  * correctly set curl connection timeout

Fri Feb 22 11:07:21 CET 2013  Guillaume Hoffmann <guillaumh at gmail.com>
  * warn earlier when DARCS_CONNECTION_TIMEOUT is not a number

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1057>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 4307 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20130222/7659459b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set-timeout-to-1-second-in-expire_unused_caches-test.dpatch
Type: application/x-darcs-patch
Size: 19405 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20130222/7659459b/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20130222/7659459b/attachment-0001.obj>


More information about the darcs-devel mailing list