r19337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19336‎ | r19337 | r19338 >
Date:14:09, 16 January 2007
Author:river
Status:old
Tags:
Comment:
connect-timeout should be a time_q, not a scalar_q
Modified paths:
  • /trunk/loreley/src/loreley/config.cc (modified) (history)

Diff [purge]

Index: trunk/loreley/src/loreley/config.cc
@@ -484,7 +484,7 @@
485485 .value("keepalive-max", simple_range(0), set_int(config.keepalive_max))
486486 .value("x-follow-redirect", simple_yesno, set_yesno(config.x_follow))
487487 .value("max-redirects", simple_range(1), set_int(config.max_redirects))
488 - .value("connect-timeout", simple_range(0), set_int(config.backend_timeo))
 488+ .value("connect-timeout", simple_time, set_time(config.backend_timeo))
489489
490490 .block("server")
491491 .value("threads", simple_range(1, 1024), set_int(config.nthreads))