[Freeciv-Dev] Re: (PR#8429) timeout setting
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8429 >
>> - A timeout of -1 shouldn't mean command-line input is ignored. It
>> should just mean the server doesn't wait for it.
>
> You mean "input from stdin" instead of "command-line input"?!
>
> I disagree since autogames are development feature. Read
> you-should-know-what-you-are-doing.
But they are enabled by default!
Currently we have
#ifndef NDEBUG
for them. We could change it to
#if !defined DEBUG || defined DEVELOPMENT_VERSION
or something. Also the help text should be change from
N_("blah blah blah. And development servers can use -1.")
to
#ifdef AUTOGAMES
N_("blah blah blah. A setting of -1 means whatever.")
#else
/* TRANS: same as blah blah blah above.
N_("blah blah blah.");
#endif
>> - Timeouts are measured with 1-second accuracy only. Surely we should
>> use the timer code for this...
>
> You want timeouts which fractions of a second? And why?
No, I don't want a 0.1 second timeout. I want a 4-second timeout to mean
4 seconds, not sometimes 3.2 and sometimes 4.9.
jason
|
|