]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Handle timeout more gracefully in background pings
authorBrion Vibber <brion@pobox.com>
Wed, 5 May 2010 01:43:32 +0000 (18:43 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 5 May 2010 01:43:32 +0000 (18:43 -0700)
commitbb94b78e8997ba1b66ddde7ad46653bfa6f958e6
tree0a5084f85db301a3bd8f3f570400af731f2fe99e
parent5f5d9518bdc5daec5a9250a852777d3015856c78
Handle timeout more gracefully in background pings

Added a 2-second default timeout for XMLRPC/extended pings, configurable as [ping,timeout].
No longer repeating the entire ping section if we had an HTTP error during a submission.
For now, dropping the bad item and continuing on with others. (Todo: individual retry and cleaner discards of blacklisted broken-for-now sites.)
lib/default.php
lib/ping.php