package com.newsblur.util;

public class AppConstants {

    // Enables high-volume logging that may be useful for debugging. This should
    // never be enabled for releases, as it not only slows down the app considerably,
    // it will log sensitive info such as passwords!
    public static final boolean VERBOSE_LOG = false;

	public static final int STATE_ALL = 0;
	public static final int STATE_SOME = 1;
	public static final int STATE_BEST = 2;
	
	public static final int REGISTRATION_DEFAULT = 0;
	public static final int REGISTRATION_STARTED = 1;
	public static final int REGISTRATION_COMPLETED = 1;
	
	public static final String FOLDER_PRE = "folder_collapsed";
	public static final String NEWSBLUR_URL = "http://www.newsblur.com";
	public static final float FONT_SIZE_LOWER_BOUND = 0.7f;
	public static final float FONT_SIZE_INCREMENT_FACTOR = 8;
	
    // the name to give the "root" folder in the local DB since the API does not assign it one.
    // this name should be unique and such that it will sort to the beginning of a list, ideally.
    public static final String ROOT_FOLDER = "0000_TOP_LEVEL_";

    public static final String LAST_APP_VERSION = "LAST_APP_VERSION";

    // the max number of mark-as-read ops to batch up before flushing to the server
    public static final int MAX_MARK_READ_BATCH = 5;

    // a pref for the time we completed the last full sync of the feed/fodler list
    public static final String LAST_SYNC_TIME = "LAST_SYNC_TIME";

    // how long to wait before auto-syncing the feed/folder list
    public static final long AUTO_SYNC_TIME_MILLIS = 10L * 60L * 1000L;

    // how many total attemtps to make at a single API call
    public static final int MAX_API_TRIES = 3;

    // the base amount for how long to sleep during exponential API failure backoff
    public static final long API_BACKOFF_BASE_MILLIS = 500L;

    // when generating a request for multiple feeds, limit the total number requested to prevent
    // unworkably long URLs
    public static final int MAX_FEED_LIST_SIZE = 250;
}

@@ -1268,16 +1268,64 @@
  server%0A
+    // set to 1 to effectively disable batching%0A
     publ
@@ -1366,17 +1366,17 @@
 BATCH = 
-5
+1
 ;%0A%0A    /

Disable mark-read batching.