Skip to content
Mark Nadal edited this page Aug 3, 2022 · 1 revision

Your app might currently be doing:

gun.get('chat').map().on(cb) or gun.get('post-123').get('attachments').on(cb)

The problem is, as more chats are saved, this could load tens of thousands+ of messages over time. Or, even if you only have a few attachments, the individual values may be large.

In the future, GUN peers will enforce a ~4KB query limit!

This means your existing queries may only get the first "page" of data.

So if your application needs to get all of the data, you may need to upgrade your queries.

How?

This documentation will be updated as the changes are made. For now, please ask about progress in the chat.

This wiki is where all the GUN website documentation comes from.

You can read it here or on the website, but the website has some special features like rendering some markdown extensions to create interactive coding tutorials.

Please feel free to improve the docs itself, we need contributions!

Clone this wiki locally