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
RajeevJainRajeevJain 

Why code behavior is different in Full Copy sandbox and in production?

I am facing CPU time limit exceed error when code runs in the production, but the same code work perfectly in Full copy sandbox, which is having exact replica of the production.
Also error come only once in the production, when I first time run the VF page and after reloading the page, it works perfectly.

Although I know error is something, which I need to optimize code. But I just want to understand that why I am seeing such a strange behaviou? 
Thanks.
karthikeyan perumalkarthikeyan perumal
Hello, 

Salesforce support have confirmed that the "Apex CPU time limit exceeded” was caused from a patch that they applied and have since rolled back. This issue would of affected dev orgs, sandboxes and production instances.

There was no Known Issue created for this problem.

Thanks
karthik