Lujeni / matterllo

Simple integration between Trello and Mattermost: send Trello activity notifications to Mattermost channels
MIT License
86 stars 25 forks source link

Extremely slow read for trello board list #45

Open alanxone opened 7 years ago

alanxone commented 7 years ago

Hi,

The matterllo is deployed using a docker on GCP (4 core / 8g ram) internally with Nginx/SSL as the proxy.

However, it takes around 50 seconds to load the board list (https://XXX/board) from Trello each time we plan to add the integration.

loading_board

Following is the config for nginx

location / { client_max_body_size 50M; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_buffers 256 16k; proxy_buffer_size 16k; proxy_read_timeout 600s; proxy_pass http://internal-ip:8000; }

Lujeni commented 7 years ago

Hello @andrewtw

Thanks for the issue / feedbzae I need to refactor the way to retrieve the board and create the hook between Trello and Matterllo.

I ll try to fix this issue in the current month or november.

Thanks