Auto-update every 12 hours instead.

// FREEBIE
pull/1/head
Moxie Marlinspike 11 years ago
parent 1af99ce155
commit 2dc893730a

@ -15,7 +15,7 @@ public class DirectoryRefreshListener extends BroadcastReceiver {
private static final String REFRESH_EVENT = "org.whispersystems.whisperpush.DIRECTORY_REFRESH";
private static final String BOOT_EVENT = "android.intent.action.BOOT_COMPLETED";
private static final long INTERVAL = 24 * 60 * 60 * 1000; // 24 hours.
private static final long INTERVAL = 12 * 60 * 60 * 1000; // 12 hours.
@Override
public void onReceive(Context context, Intent intent) {

Loading…
Cancel
Save