Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

Chrome tab stops responding when running my extension [closed]

$
0
0

Explaining in brief I am running my extension locally, which makes API calls to the current page to get data and store it in a list and at the end of scraping it stores the data in local storage and then via a listener an API call is made to send all that data.It works perfectly fine when I run it for a few hours on my device, But when I try to run it for a longer period of time the Chrome tab stops responding. The extension has storage, unlimitedStorage, tabs and host permissions

What I have tried:I had a hunch that it may be happening because of heavy use of storage, so I refactored my extension to send the data in between and clear it from extension but that didn't seem to work

Also when I tried it on my old device the Chrome tab stopped responding a lot sooner

Does anyone have any insight at all into this?

Edit: Can it be because I keep getting a lot of 429 error responses (because of rate limits), which fills my console logs completely


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>