W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2012

Re: Timeout when testing batches of files through API

From: jama <jamappi@gmail.com>
Date: Mon, 26 Nov 2012 22:49:58 +0100
Message-ID: <50B3E406.7030102@gmail.com>
To: www-validator-css@w3.org
On 25.11.2012 23:06, jama wrote:
> Later I tried again with time.sleep(5), but I got a timeout again.
>
> At [1] it is stated "*Note*: If you wish to call the validator
> programmatically for a batch of documents, please make sure that your
> script will|sleep|  for*at least 1 second*  between requests."
>
> Why isn't this working for me? What am I doing wrong? Anyone got an idea?

I tried time.sleep(15) now and that worked for me.

So much for *1 second*. ;)

But never mind I guess...

Cheers
jama
Received on Monday, 26 November 2012 21:50:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 November 2012 21:51:00 GMT