Script Timeout

Aayush

Well-known member
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
 
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?
 
local script running, I am investigating into deferred process is there any guides out there?
 
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?
 
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.
 
Top Bottom