Prevent too frequent request for sample ical#3137
Prevent too frequent request for sample ical#3137eouia wants to merge 1 commit intoMagicMirrorOrg:developfrom
Conversation
|
Lets increase it even further to 1 day, I propose |
|
maybe once a week/month.. when was the last time a holiday was added? with comments of course is updateInterval by calendar url? |
|
At least, too short period (< 1min) fetching should be disallowed, I think. |
true.
no, its for the whole module. adding a per calendar is feasible I think
true. maybe I find the time tonight to extend your PR. Or do you want to tackle it @eouia ? |
rejas
left a comment
There was a problem hiding this comment.
please increase the interval even further
I’m outside atm so cannot modify it. If anyone who can do this exists, plz do it instead of me. |
|
the default needs to be higher too... force people to reset it |
|
I am a dev from Calendarlabs.com Ideally, the fetch interval of the holiday calendar should be seven days. (Holiday calendar may get occasionally updated when the country has religious holidays). Most calendar applications default the refresh rate to a week (Ex: calendar app in any Apple device). At the same time, some calendar, like weather needs an hourly refresh We created a separate URL to be included in config.js.sample file as default. However, users should always be encouraged to pick up their unique URL from the iCal calendar page. (so that they don't fall on the request pool assigned to the default URL) The URL has been allowed to accept up to 100,000 requests per day. We will adjust the volume as needed. (currently, there are around three thousand MM systems making requests for the ics URL. |
@eouia If you grant edit access for the maintainers then I can work directly on this branch. |
I'd liek to work on your brnach instead on my draft (so you can get credit too ;-) Plus we have the discussion ehre, so it makes sense to merge this one. So please add the checkmark on the right that allows edit of maintainers etc |
|
Sorry I cannot find "Allow edits from maintainers." checkbox", (Don't know why) Maybe is it not allowed by setting? |
Hi, you will always get updated content from this url. I’m pasting the url here again for your reference Thanks |
karsten13@karsten13 MINGW64 /z/foreign/MagicMirror (develop)
$ git fetch origin pull/3137/head:configIssue
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 6 (delta 3), reused 6 (delta 3), pack-reused 0
Unpacking objects: 100% (6/6), 1.30 KiB | 3.00 KiB/s, done.
From github.com:MichMich/MagicMirror
* [new ref] refs/pull/3137/head -> configIssueafter the above |
|
Weird.... So, will probably have to merge my pr then... |
|
closing this now because #3139 was merged |



Recently
CalendarLabtold me they have troubles due to Too many/frequent requests from MagicMirror Project.So they will change their URL scheme and service privately per user.
This commit is changing the
5minupdate cycle to30min.But anyway, the example of config should be changed from 30th July.
(I'll post this thing detail in the community)