Closed gilberthdez closed 2 years ago
Hey! Thanks for letting me know. I will lower the rate and push a patch to the Obsidian plugin marketplace.
Is this the reason my users were getting a 418 response from the API last week? If so, I would like to humbly ask your team to consider adding a more meaningful error response than "I'm a teapot" π this way I would have known earlier to lower my polling rate.
Is this the reason my users were getting a 418 response from the API last week? If so, I would like to humbly ask your team to consider adding a more meaningful error response than "I'm a teapot" π this way I would have known earlier to lower my polling rate.
That's correct and sorry for that. We weren't able to identify the source since the request were using the default got
user-agent. π
Thanks for the quick response!
Fixed in release 0.2.5. I'll make a post in the Obsidian discord community to ask my users to update when they can.
Obviously this makes the plugin a little less responsive (I reduced the polling interval to 6s). Are there smarter ways to get active timer updates than periodically pinging the API?
Obviously this makes the plugin a little less responsive (I reduced the polling interval to 6s). Are there smarter ways to get active timer updates than periodically pinging the API?
At the moment we don't offer any other option for 3rd parties. But there's a chance that changes in the future π
thanks for attending this request π .
Greetings from Toggl Trackπ
Thanks for creating this integration for the Obsidian users and for adding a custom User-Agent.
We have detected that his integration is doing a lot of request GET to the
/api/v8/time_entries/current
endpoint. Looks like the frequency is ~1 request per second.A good rate in terms of UX for this request(refreshing what's the current time entry) is 1 request between 5-15s.
Help us(and the users) lowering this rate. Thanks :)