Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Set timeouts for B2C Commerce storefront webservice calls and HTTP requests

公開日: Oct 17, 2024
説明
Webservice or HTTP requests can lead to thread exhaustion and make your storefront and Business Manager unavailable due to following conditions:
  • There is a problem with the third party provider
AND
  • No timeout is set for the webservice/HTTP request
In this case, threads are in a "busy waiting" state which could lead to thread exhaustion.
解決策
This occurs when there is no timeout implemented for the webservice or HTTP requests AND there is a problem with the third party provider.

It is important and recommended to set a timeout for all webservice calls as outlined in Create a Web Service Profile and HTTP requests using the setTimeout(timeoutMillis : Number) : void method in the dw.net.HTTPClient class.

Note: The timeout should be set as low as possible depending on the webservice or request used.
ナレッジ記事番号

000391301

 
読み込み中
Salesforce Help | Article