status-go/protocol/communities
Pascal Precht 1bab7ae056 refactor(communities): improve archive handling memory pressure
Instead of loading the entire torrent file into memory when trying
to extrract active messages, we now only read the chunks that are
necessary to decode any individual archive and then process
extracted messages in chunks.

This doesn't introduce a max cap of allowed memory yet, since the
chunk size depends entirely on the size of the archive, but this
will be done soon.
2023-01-18 15:45:13 +01:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
adaptors.go feat: sync `CommunitySettings` across paired devices 2022-06-16 12:45:05 +02:00
community.go Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
community_categories.go Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
community_categories_test.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00
community_test.go fix: remove ourselves from members when leaving community 2022-09-21 08:35:52 +02:00
errors.go Allow owner/admin to delete messages of a community (#2958) 2022-12-02 19:34:02 +08:00
manager.go refactor(communities): improve archive handling memory pressure 2023-01-18 15:45:13 +01:00
manager_test.go feat(CommunitiesManager): introduce `CreateHistoryArchiveTorrentFromMessages` API 2022-10-24 13:28:55 +02:00
persistence.go Keep track of last seen magnetlink 2022-12-20 15:16:08 +01:00
persistence_test.go feat: add `SpectateCommunity` api 2022-10-06 21:21:37 +02:00
persistence_test_helpers.go feat: add `SpectateCommunity` api 2022-10-06 21:21:37 +02:00
request_to_join.go feat(communities): Cancel request to join community (#2915) 2022-10-28 11:41:20 +03:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_leave.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
utils.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00