From 80cf7308d014bf827a12e3af4979e8d82d41a611 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sun, 11 Mar 2018 17:45:36 +0000 Subject: [PATCH] 93_DbRep: V7.14.4, increased timeout of special function git-svn-id: https://svn.fhem.de/fhem/trunk@16385 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/93_DbRep.pm | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 9b2b16818..77e036b9b 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # 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. + - change: 93_DbRep: V7.14.4, increased timeout of special function - feature: 74_Unifi: added set updateClient, encrypt user and password - change: 49_TBot_List: deleteonly lists / internal changes - change: 50_TelegramBot: more silent cmds, caption formatting,several fixes diff --git a/fhem/FHEM/93_DbRep.pm b/fhem/FHEM/93_DbRep.pm index a774668be..b6f2e56c0 100644 --- a/fhem/FHEM/93_DbRep.pm +++ b/fhem/FHEM/93_DbRep.pm @@ -37,6 +37,7 @@ ########################################################################################################################### # Versions History: # +# 7.14.4 11.03.2018 increased timeout of BlockingCall in DbRep_firstconnect # 7.14.3 07.03.2018 DbRep_firstconnect changed - get lowest timestamp in database, DbRep_Connect deleted # 7.14.2 04.03.2018 fix perl warning # 7.14.1 01.03.2018 currentfillup_Push bugfix for PostgreSQL @@ -324,7 +325,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch'; sub DbRep_Main($$;$); sub DbLog_cutCol($$$$$$$); # DbLog-Funktion nutzen um Daten auf maximale Länge beschneiden -my $DbRepVersion = "7.14.3"; +my $DbRepVersion = "7.14.4"; my %dbrep_col = ("DEVICE" => 64, "TYPE" => 64, @@ -1255,7 +1256,7 @@ return undef; sub DbRep_firstconnect($) { my ($hash) = @_; my $name = $hash->{NAME}; - my $to = "10"; + my $to = "120"; my $dbloghash = $hash->{dbloghash}; my $dbconn = $dbloghash->{dbconn}; my $dbuser = $dbloghash->{dbuser}; @@ -1265,6 +1266,7 @@ sub DbRep_firstconnect($) { if ($init_done == 1) { Log3 ($name, 3, "DbRep $name - Connectiontest to database $dbconn with user $dbuser") if($hash->{LASTCMD} ne "minTimestamp"); $hash->{HELPER}{RUNNING_PID} = BlockingCall("DbRep_getMinTs", "$name", "DbRep_getMinTsDone", $to, "DbRep_getMinTsAborted", $hash); + $hash->{HELPER}{RUNNING_PID}{loglevel} = 5 if($hash->{HELPER}{RUNNING_PID}); # Forum #77057 } else { InternalTimer(time+1, "DbRep_firstconnect", $hash, 0); }