Hi Leila,
If you are making frequent requests every 10 seconds, there is a possibility that you might run into issues. The Chrome extension may work in the Chrome extension developer mode, but not when you publish it in the Chrome Web Store.
As I said before, the setTimeout and setInterval do not work in the background service worker. So you must use the chrome.alarm API. However, please note that the minimum refresh interval using this API is 1 minute (-> no seconds).
Chrome extension developer documentation: