function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sslatersslater 

Governer Limits - Max Lines


I'm working on an apex/vf page that is intended to stay up and running for a "long time". You might open it in a new window and periodically refresh, but the main page will stay.

The concern is that I might hit the 10k execution line limit. Are limits enforced on the controller or are they purely on the other classes? If my controller stays alive forever, eventually I would hit a limit just from clicking a refresh button thousands of times, or maybe it's an auto-refresh on a timer.

If the custom controller is subject to the limit, any ways to work-around it or design things differently?

Thanks!