mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +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:
parent
f10ffe07c4
commit
e16511be02
@ -3488,8 +3488,8 @@
|
|||||||
precipitation (in %)</option>
|
precipitation (in %)</option>
|
||||||
</member>
|
</member>
|
||||||
</simplelist>
|
</simplelist>
|
||||||
<para>'delay_in_minutes' (optional, default 150) cannot
|
<para>'delay_in_minutes' (optional, default 210) cannot
|
||||||
be lower than 150 min.</para>
|
be lower than 210 min.</para>
|
||||||
<para>This object is threaded, and once a thread is
|
<para>This object is threaded, and once a thread is
|
||||||
created it can't be explicitely destroyed. One thread
|
created it can't be explicitely destroyed. One thread
|
||||||
will run for each URI specified. You can use any
|
will run for each URI specified. You can use any
|
||||||
|
@ -3080,9 +3080,9 @@ static struct text_object *construct_text_object(const char *s,
|
|||||||
}
|
}
|
||||||
obj->data.weather_forecast.day = day;
|
obj->data.weather_forecast.day = day;
|
||||||
|
|
||||||
/* Limit the data retrieval interval to 2 hours and an half */
|
/* Limit the data retrieval interval to 3 hours and an half */
|
||||||
if (interval < 150) {
|
if (interval < 210) {
|
||||||
interval = 150;
|
interval = 210;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert to seconds */
|
/* Convert to seconds */
|
||||||
|
Loading…
Reference in New Issue
Block a user