mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
57_Calendar: reactivated random delay for calendar updates on start
git-svn-id: https://svn.fhem.de/fhem/trunk@21818 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dc841c4d57
commit
94a10ab42d
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 57_Calendar: reactivated random delay for calendar updates on start
|
||||||
- bugfix 98_todoist: Forum: #1048705
|
- bugfix 98_todoist: Forum: #1048705
|
||||||
- bugfix: 74_GardenaSmartDevice: setter from mower not visible
|
- bugfix: 74_GardenaSmartDevice: setter from mower not visible
|
||||||
- bugfix: 74_GardenaSmartDevice: fix watering_computer state
|
- bugfix: 74_GardenaSmartDevice: fix watering_computer state
|
||||||
|
@ -1847,9 +1847,6 @@ sub Calendar_Notify($$)
|
|||||||
Calendar_DisarmTimer($hash);
|
Calendar_DisarmTimer($hash);
|
||||||
my $delay= 10+int(rand(20));
|
my $delay= 10+int(rand(20));
|
||||||
|
|
||||||
# delay removed until further notice
|
|
||||||
$delay= 2;
|
|
||||||
|
|
||||||
Log3 $hash, 5, "Calendar $name: FHEM initialization or rereadcfg triggered update, delay $delay seconds.";
|
Log3 $hash, 5, "Calendar $name: FHEM initialization or rereadcfg triggered update, delay $delay seconds.";
|
||||||
InternalTimer(time()+$delay, "Calendar_Wakeup", $hash, 0) ;
|
InternalTimer(time()+$delay, "Calendar_Wakeup", $hash, 0) ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user