From 494cda3e1604e716ad8d76bbe3bd517d11935bfd Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Mon, 7 Dec 2020 23:06:39 +0000 Subject: [PATCH] 50_SSFile: contrib 0.7.5 git-svn-id: https://svn.fhem.de/fhem/trunk@23311 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/50_SSFile.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fhem/contrib/DS_Starter/50_SSFile.pm b/fhem/contrib/DS_Starter/50_SSFile.pm index d0f7223cd..cdbcb68e5 100644 --- a/fhem/contrib/DS_Starter/50_SSFile.pm +++ b/fhem/contrib/DS_Starter/50_SSFile.pm @@ -144,6 +144,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( + "0.7.5" => "07.12.2020 minor fix avoid overtakers ", "0.7.4" => "30.11.2020 add mtime, crtime to uploaded files ", "0.7.3" => "29.11.2020 fix (prepare)Download without dest= option", "0.7.2" => "22.11.2020 undef variables containing a lot of data in execOp ", @@ -1347,6 +1348,11 @@ sub getApiSites { return $ret; } + if($hash->{OPMODE}) { # Überholer vermeiden wenn eine Operation läuft (V. 0.7.5" => "07.12.2020) + Log3($name, 4, qq{$name - Operation "$hash->{OPMODE} (idx: $hash->{OPIDX})" is still running. Next operation start postponed}); + return; + } + # den nächsten Eintrag aus "SendQueue" selektieren und ausführen wenn nicht forbidSend gesetzt ist for my $idx (sort{$a<=>$b} keys %{$data{$type}{$name}{sendqueue}{entries}}) { if (!$data{$type}{$name}{sendqueue}{entries}{$idx}{forbidSend}) {