https://bugzilla.wikimedia.org/show_bug.cgi?id=63421

--- Comment #6 from Marc A. Pelletier <m...@uberbox.org> ---
set_time_limit will indeed try to abort the /script/, but depending on how
exactly you connect to the DB it may not abort a query in progress.

A quick google finds that the problem is not new; there are possible avenues of
investigation at

http://stackoverflow.com/questions/9562124/php-mysql-set-connection-timeout
http://www.phpbb2refugees.com/viewtopic.php?p=7647&sid=028921ede498fddbc1ebfbd71ee37dcc

The short of it is that there doesn't seem to be a way to set a query timeout,
but you could set up an alarm() to abort one that takes too long.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to