Forum Discussion

sudo97's avatar
sudo97
Visitor
8 years ago

Execution timeouts

On 7.6 the app used to work perfectly. But after 7.7 release, we get execution timeout when we set video.control to some value or set audio/subtitle track(and sometimes it even doesn't go to debug mode in the console, Roku just starts rebooting)

Any suggestions?

3 Replies

  • Can you show a minimal code example of that happening?
    Your question is not very informative as is - but i can re-state warning given before - do not block the render thread (i would say no more than 1 sec) or it will be killed. Things that take long time - do them in main() or in Task thread
  • abhishek's avatar
    abhishek
    Channel Surfer
    "RokuNB" wrote:
    Can you show a minimal code example of that happening?
    Your question is not very informative as is - but i can re-state warning given before - do not block the render thread (i would say no more than 1 sec) or it will be killed. Things that take long time - do them in main() or in Task thread

    What should be the ideal approach in case we need to render a lot of nodes at the same time ( which might take more than 4-5 seconds)?
    e.g. Need to render more than 400 nodes including images at the same time and then do show/hide the nodes as per the user events.