Subhradeep10/Stunning-Scripts

Amazon price tracker issues

Opened this issue · 4 comments

Link. The watchPrice function uses a tool called node-cron to schedule the fetchPrice function to run at a certain time interval. By default, this function runs every 5 seconds. However, this may be too often and could cause problems with the rate at which requests are allowed to be made if a lot of requests are being sent. It might be a good idea to change the default interval to a longer time period to avoid these issues

@manav-06 Want to work on the issue?

Sure

@Subhradeep10 I was considering increasing the interval from 5 seconds to an hour. This will also avoid the rate limiting issue. Will that be fine?

@manav-06 Sure, go ahead assigned to you