Hi Lynn and Martin,

>> unless something was changed recently I think the values in
>> mod_tile.conf are required to be in seconds. See also the default
>> values: 
>> http://svn.openstreetmap.org/applications/utils/mod_tile/mod_tile.conf
> 
> Ah well, I needed that egg on my face for breakfast anyway.  It was just a 
> guess given the similarity between his 50 value and an observed timeout of 
> 29-49msec.

If I understand the following code extract from 
http://svn.openstreetmap.org/applications/utils/mod_tile/mod_tile.c (function 
request_tile) correctly
struct timeval tv = {(renderImmediately > 
1?scfg->request_timeout_priority:scfg->request_timeout), 0 };
[...]
s = select(fd+1, &rx, NULL, NULL, &tv);
only the seconds-part (tv_sec) of the timeval struct  is being set, not the 
microseconds-part (tv_usec). So I seconds should be correct. But thanks anyway 
for you answer. Any other ideas?
Greetings, Stefan
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to