Anidazen Posted January 24, 2007 Share Posted January 24, 2007 Hey guys.I was just wondering, is it possible to set a timelimit on one particular function, query, etc?Would be using it for an SQL query - but would be good to know in general. All I could find in the manual was entire script execution times or socket execution timelimits. Don't know if this even exists. Link to comment https://forums.phpfreaks.com/topic/35499-is-it-possible-to-set-a-time-limit-on-one-command/ Share on other sites More sharing options...
paul2463 Posted January 24, 2007 Share Posted January 24, 2007 what do you mean about a time limit?do you mean "the function or query fails if it is not completed in 3 seconds"or"The function or query can only be run between 30 and 45 minutes in the hour? Link to comment https://forums.phpfreaks.com/topic/35499-is-it-possible-to-set-a-time-limit-on-one-command/#findComment-167965 Share on other sites More sharing options...
Anidazen Posted January 24, 2007 Author Share Posted January 24, 2007 The first one - a maximum execution time or it fails. Link to comment https://forums.phpfreaks.com/topic/35499-is-it-possible-to-set-a-time-limit-on-one-command/#findComment-168033 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.