Too many API requests

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sobolevfff
    Member
    • Mar 2020
    • 81

    Too many API requests

    Hello. The CRM makes a lot of API requests, sometimes 2 requests every second. I am having problems with the number of PHP requests on the hosting due to the API.
    Please tell me what it can be and how to change it.

    [Thu Apr 01 09:32:57 2021] [info] Executing "/home/********/public_html/crm/api/v1/index.php" as UID 802, GID 798
    2021-04-01 14:32:58
    [Thu Apr 01 09:32:58 2021] [info] Executing "/home/********/public_html/crm/api/v1/index.php" as UID 802, GID 798
    2021-04-01 14:32:58
    [Thu Apr 01 09:32:54 2021] [info] Executing "/home/********/public_html/crm/api/v1/index.php" as UID 802, GID 798
    2021-04-01 14:32:55
    [Thu Apr 01 09:32:51 2021] [info] Executing "/home/********/public_html/crm/api/v1/index.php" as UID 802, GID 798
    2021-04-01 14:32:52
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    I believe every action you do in EspoCRM is through the API request, if you use F12/Browser Console that become very apparent.

    In term of reducing API request, I'm not sure how, you need to know which action is obsolete that you can safely disable. But if the core system of EspoCRM rely on API it be very difficult.

    Of course I could be wrong here, my coding knowledge is quite limited. But doing anything like Search will go through the /api/ link or /entrypoint/

    Comment

    Working...