Harris
e036344c76
refactor: performance improvements in batch message processing, synchronized cache access and audible message notifications.
...
Increase audible timeout on DefaultMessageNotifier.java, don't send in-thread notification based on last audible notification.
Create a batch message receive job to handle up to 20 chunked messages at a time per job instead of singular or open group poll amount
Remove synchronized access to recipient cache and replace with a concurrent cache that's lock free from perf tracing monitor contention
2021-09-29 15:29:24 +10:00
jubb
5f7278b9c4
refactor: OpenGroupPollerV2.kt no longer queues jobs and executes synchronously, BackgroundPollWorker.kt no longer replaces periodic tasks but keeps existing ones, removing unused references
2021-07-15 12:00:30 +10:00
jubb
d57903aa44
fix: open group poller queues trim thread job only if received messages
...
deleting quotes should now propagate to set quote missing flag in MMS and update the UI accordingly
2021-07-05 09:59:54 +10:00
nielsandriesse
c6976ca3cd
Fix naming confusion
2021-05-28 11:00:49 +10:00
jubb
efa36d4cea
refactor: trim thread is now queued after batch processing messages, for other conversations still after every persisted message
...
migrate TrimThreadJob.kt to new job system
deleting more open group references in removal
open group last message / last deletion now sets after processing vs after fetching
2021-05-26 15:22:19 +10:00
Niels Andriesse
5d9957a57d
Fix merge
2021-05-24 16:21:24 +10:00
ryanzhao
25df4330be
Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam
2021-05-24 14:49:56 +10:00
Brice-W
becc3c7278
Merge branch 'dev' of https://github.com/loki-project/session-android into polling-limit-after-inactivity
2021-05-24 12:58:35 +10:00
Brice-W
dbaa51bd9a
implementation of polling limit on open groups
2021-05-24 12:00:17 +10:00
ryanzhao
b186d4a670
Merge branch 'dev' of https://github.com/oxen-io/session-android into fix-open-group-spam
2021-05-24 09:19:56 +10:00
Niels Andriesse
49c3ffd9ca
Remove redundant code
2021-05-21 15:02:34 +10:00
Ryan ZHAO
d52787a661
try to use jobs to mark if all open groups are caught up
2021-05-21 14:55:06 +10:00
nielsandriesse
eee9d6688e
Debug
2021-05-19 10:31:08 +10:00
nielsandriesse
fda66d3f5d
Refactor V2 open group poller
2021-05-19 10:03:31 +10:00