Add a gservices flag to limit the size of protobufs we can gzip

This commit is contained in:
Cynthia Wong
2009-06-10 14:42:42 -07:00
parent 0e7cf6366b
commit 85427f71a4

View File

@@ -2490,6 +2490,12 @@ public final class Settings {
*/
public static final String GMAIL_BUFFER_SERVER_RESPONSE = "gmail_buffer_server_response";
/**
* The maximum size in bytes allowed for the provider to gzip a protocol buffer uploaded to
* the server.
*/
public static final String GMAIL_MAX_GZIP_SIZE = "gmail_max_gzip_size_bytes";
/**
* Controls whether Gmail will discard uphill operations that repeatedly fail. Value must be
* an integer where non-zero means true. Defaults to 1.