1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 20:11:11 +00:00

Set refresh period for the 5 days forecast to 3 and a half hours, in accordance to Exhibit B of EULA

This commit is contained in:
Cesare Tirabassi 2009-08-05 17:26:25 +02:00
parent f10ffe07c4
commit e16511be02
2 changed files with 5 additions and 5 deletions

View File

@ -3488,8 +3488,8 @@
precipitation (in %)</option>
</member>
</simplelist>
<para>'delay_in_minutes' (optional, default 150) cannot
be lower than 150 min.</para>
<para>'delay_in_minutes' (optional, default 210) cannot
be lower than 210 min.</para>
<para>This object is threaded, and once a thread is
created it can't be explicitely destroyed. One thread
will run for each URI specified. You can use any

View File

@ -3080,9 +3080,9 @@ static struct text_object *construct_text_object(const char *s,
}
obj->data.weather_forecast.day = day;
/* Limit the data retrieval interval to 2 hours and an half */
if (interval < 150) {
interval = 150;
/* Limit the data retrieval interval to 3 hours and an half */
if (interval < 210) {
interval = 210;
}
/* Convert to seconds */