immanuelfodor / matrix-encrypted-webhooks

Send any JSON and form data through webhooks to Matrix end-to-end encrypted (E2EE) rooms with HTTP POST requests
MIT License
17 stars 5 forks source link

High CPU and network usage #3

Closed NoverNobida closed 2 years ago

NoverNobida commented 2 years ago

This program can cause high CPU (100%) and network (≈1MB/s⬆⬇) usage. When I stop the program, the CPU usage drops to normal, and there is no network usage. 图片图片

immanuelfodor commented 2 years ago

Hi, could you please provide more context, in what cases do you observe this behavior? The only thing I can think of is when the Matrix server is unavailable/down/restarting.

NoverNobida commented 2 years ago

I found the reason. Because I have changed the account before, although the ID and password have not been changed, those authorization files has actually been changed. I didn't delete the folder config created by docker-compose (

volumes:
    - ./config:/config

) causing the program to run incorrectly.