BackupPC-users

Re: [BackupPC-users] BPC 4 very slow

2016-01-28 10:19:24
Subject: Re: [BackupPC-users] BPC 4 very slow
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 28 Jan 2016 10:03:07 -0500
On 1/28/2016 9:32 AM, Gandalf Corvotempesta wrote:
> 2016-01-27 23:24 GMT+01:00 Gandalf Corvotempesta
> <gandalf.corvotempesta AT gmail DOT com>:
>> I had this:
>>
>> $Conf{FullPeriod} = 27.97;
>>
>> now changed to
>>
>> $Conf{FullPeriod} = 7.97;
>>
>> just in case bpc was parsing only the first digit.
> I've also noticed that original configuration is using float values,
> but when saving from webinterfaces, all is converted to strings:
>
> Config saved by web interface:
> # grep '$Conf{FullPeriod}' config.pl
> $Conf{FullPeriod} = '6.97';
>
> Original config, prior saving from web.
> # grep '$Conf{FullPeriod}' config.pl.old
> $Conf{FullPeriod} = 7.97;
>
>
> In the first case, FullPeriod is a string, in the second, is a float.
> Now i'm trying with the "string" version..... let's see

This is Perl.  There is no real distinction between strings, integers, 
and floats.  7.97, '7.97', and "7.97" (along with a few other more 
obscure variants) will all be interpreted the same.

-- 
Bowie

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>