読者です 読者をやめる 読者になる 読者になる

なぐりがき

SalesforceからときどきIdol



Salesforce:Summer'16 ピックアップ2

Salesforce

これは!って思うのがあったので、今日はもう更新しないつもりだったけど更新。

リリースノートの中の人もテンション高めでお送りします(…








非同期処理の制限

One Asynchronous Limit to Rule Them All

Have you ever had to perform advanced programming maneuvers to work around the limits for the different types of asynchronous Apex calls? If so, you’ll be happy to know that we’ve simplified the asynchronous call limits by adding a single, consolidated limit that replaces individual limits on particular types of operations.
Previously, there were individual limits on the number of calls that could be made to the following types of asynchronous actions (per transaction):

Methods with the future annotation (@future)
Jobs added to the queue with the System.enqueueJob method
Classes scheduled concurrently with the System.schedule method
Batch Apex jobs scheduled with the Database.executeBatch method

We replaced these limits with a consolidated limit. You can now make up to 200 asynchronous calls of any type in a single Apex transaction. Feel free to mix and match future, queued, scheduled, and batch calls within a single transaction, up to a limit of 200. Go a little crazy, within limits, of course!

Go a little crazyってなんだろう(…
夢中?やりすぎ?日本語訳を楽しみに待ちたいと思います。にしても興奮が伝わってきますね。

そんなわけで制限が200に変更されるみたいです!
あまり使うことはなかったですが、緩和されるのはありがたいです。