• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Script Timeout

Aayush

Well-known member
#1
I am coding an addon which will be interacting with a third party API.
I just wanted to know if the server takes too long to respond or the data sent requires a lot of processing to be done.
Will the script be terminated, if yes after how long?

Thanks
 
#2
I am coding an addon which will be interacting with a third party API.
I just wanted to know if the server takes too long to respond or the data sent requires a lot of processing to be done.
Will the script be terminated, if yes after how long?

Thanks
The local script running or the API call to the remote server?
 

Aayush

Well-known member
#5
I'll check it out.
Probably do some tests using sleep() to see if it really works.

Thanks

Edit : Is there any native support built in xenforo for it?
 

Aayush

Well-known member
#7
why would you use sleep? native support in xenforo for what? memory limit?
I'll use sleep to to test out some stuff*mainly to see if it works*, cause I remember using that function for another site of mine http://hypeninja.co/ but wasn't able to make it work at that time due to improper implementation on my end and lack of time to test it.

I was talking whether xenforo has something like that already built into it like how it runs the installs as deferred.
Mainly looking for a native XF function to achieve it rather than using a PHP function.