[ZendTo] Feature request: optional units on some preferences
Massimo Forni
Massimo.Forni at turboden.it
Tue Nov 17 20:02:21 GMT 2020
+1 for me!
-----Original Message-----
From: ZendTo <zendto-bounces at zend.to> On Behalf Of John Thurston via ZendTo
Sent: martedì 17 novembre 2020 20:13
To: ZendTo List <zendto at zend.to>
Cc: John Thurston <john.thurston at alaska.gov>
Subject: [ZendTo] Feature request: optional units on some preferences
Computers are good at doing math. Can we have the option of including units on some preferences?
I'm thinking, particularly, about:
maxBytesForDropoff
maxBytesForFile
maxBytesForChecksum
maxBytesForEncryption
These are currently specified in bytes. This is generally a long number which is hard to read and easy to stumble over. May we have the default continue to be "number of bytes" but have it accept an optional unit-suffix? For example:
'maxBytesForDropoff' => 25769790582,
could be specified as:
'maxBytesForDropoff' => 24G,
Old preferences would continue to work, and new preferences would be easier to read.
--
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska
_______________________________________________
ZendTo mailing list
ZendTo at zend.to
https://urldefense.com/v3/__http://jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!i3n9POw7rlJZAjD9qJ2p5AJGysYAUOtjFrVPSKBhrp7-n8lPg4ngEe-YNVtgAfVD1f8RPQ$
--
Massimo Forni
ICT Infrastructure Manager
Mobile: +393474110278
________________________________
Turboden S.p.A. I via Cernaia 10 I 25124 Brescia I Italy
t. +39 030 3552001 I f. +39 030 3552011
www.turboden.com<http://www.turboden.com>
Confidentiality notice: this message, together with its attachments, may contain strictly confidential and/or legally privileged information and it is destined solely to the intended addressee(s), who only may use it under his/their responsibility. Opinions, conclusions and other information contained in this message, that do not relate to the official business of this firm, shall be considered as not given or endorsed by it. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Any use, disclosure, copying or distribution of the contents of this communication by a not-intended recipient or in violation of the purposes of this communication is strictly prohibited and may be unlawful.
More information about the ZendTo
mailing list