session-android/src/org/thoughtcrime/securesms/jobs
Greyson Parrelli bf692e8da3 Throttle background contact syncs to once every 6 hours.
Unfortunately, there's apps out there that trigger contact changes
very frequently. Because we listen to the system for contact
changes to tell us when to sync, that could result in us sending
an abundance of contact syncs to linked desktop instances.

This throttles contact sync requests using the following methodology:

- By default, throttle contact syncs to 6 hrs while the app is
  backgrounded.
- If a sync is throttled in the background, we set a dirty flag and
  will execute the sync the next time the app is foregrounded.
- Syncs explicitly requested by desktop are never throttled.
2018-07-17 12:06:50 -07:00
..
requirements Keep retrying message sends for 24 hours. 2018-06-22 10:59:53 -07:00
AttachmentDownloadJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
AttachmentFileNameJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
AvatarDownloadJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
CleanPreKeysJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
ContextJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
CreateSignedPreKeyJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
DirectoryRefreshJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
GcmRefreshJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
LocalBackupJob.java Remove the ability to save backups to the external SD card. 2018-06-29 14:10:45 -07:00
MasterSecretJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MmsDownloadJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MmsReceiveJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MmsSendJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MultiDeviceBlockedUpdateJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MultiDeviceContactUpdateJob.java Throttle background contact syncs to once every 6 hours. 2018-07-17 12:06:50 -07:00
MultiDeviceGroupUpdateJob.java Remove ability to set group conversation colors (for now). 2018-07-17 09:54:13 -07:00
MultiDeviceProfileKeyUpdateJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MultiDeviceReadReceiptUpdateJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MultiDeviceReadUpdateJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MultiDeviceVerifiedUpdateJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
PushContentReceiveJob.java Keep retrying message sends for 24 hours. 2018-06-22 10:59:53 -07:00
PushDecryptJob.java Throttle background contact syncs to once every 6 hours. 2018-07-17 12:06:50 -07:00
PushGroupSendJob.java Use NetworkBackoffRequirement for group messages. 2018-07-12 10:59:10 -07:00
PushGroupUpdateJob.java Add expiration time to group update requests. 2018-06-22 11:29:16 -07:00
PushMediaSendJob.java Update scheduling of ServiceOutageDetectionJob. 2018-06-22 10:59:53 -07:00
PushNotificationReceiveJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
PushReceivedJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
PushSendJob.java Update scheduling of ServiceOutageDetectionJob. 2018-06-22 10:59:53 -07:00
PushTextSendJob.java Update scheduling of ServiceOutageDetectionJob. 2018-06-22 10:59:53 -07:00
RefreshAttributesJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
RefreshPreKeysJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
RequestGroupInfoJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
RetrieveProfileAvatarJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
RetrieveProfileJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
RotateSignedPreKeyJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
SendJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
SendReadReceiptJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
ServiceOutageDetectionJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
SmsReceiveJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
SmsSendJob.java Keep retrying message sends for 24 hours. 2018-06-22 10:59:53 -07:00
SmsSentJob.java Keep retrying message sends for 24 hours. 2018-06-22 10:59:53 -07:00
TrimThreadJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
UpdateApkJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00