How often does the historyId change, it says in the doc that in some cases it might be valid only for few hours, how frequent is that?
And In case I get a 404 in history api then can I rely on updating the historyId to the latest historyId for new changes via pub/sub and instead of doing a full sync, I use query parameter to fetch messages whose timestamp is greater than the max timestamp I had in my database to reduce resource consumption?