Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon price tracker issues #179

Open
manav-06 opened this issue Jan 1, 2023 · 4 comments
Open

Amazon price tracker issues #179

manav-06 opened this issue Jan 1, 2023 · 4 comments
Assignees

Comments

@manav-06
Copy link

manav-06 commented Jan 1, 2023

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

@Subhradeep10
Copy link
Owner

@manav-06 Want to work on the issue?

@manav-06
Copy link
Author

manav-06 commented Jan 1, 2023

Sure

@manav-06
Copy link
Author

manav-06 commented Jan 1, 2023

@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?

@Subhradeep10
Copy link
Owner

@manav-06 Sure, go ahead assigned to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants