It's seconds. No, it's intervals. No, it's HOURS!

    Date: 07/21/05 (Code WTF)    Keywords: no keywords

    From a code review, where someone asked "It looks like WindowsTimeout is intended to be number of seconds to wait"

    No, $windowsTimeout is the number of 10 second intervals. That is why its being multplied by 360 when its fetched from the command line. You give it
    the timeout in hours e.g. $windowsTimeout = 1 becomes $windowsTimeout = 360 which translates into waiting for 3600 seconds.

    Source: http://www.livejournal.com/community/code_wtf/11963.html

« PEAR:DB || кусочек кода... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home