Try out a fix for timeouts with limited bandwidth to cloud.
[bluesky.git] / bluesky / init.c
index 9ce20b9..e8c317a 100644 (file)
@@ -34,10 +34,12 @@ int bluesky_max_threads = 16;
  */
 int bluesky_watermark_low_dirty    = (64 << 20) / BLUESKY_BLOCK_SIZE;
 int bluesky_watermark_medium_dirty = (96 << 20) / BLUESKY_BLOCK_SIZE;
+int bluesky_watermark_med2_dirty   = (160 << 20) / BLUESKY_BLOCK_SIZE;
 int bluesky_watermark_high_dirty   = (192 << 20) / BLUESKY_BLOCK_SIZE;
 
 int bluesky_watermark_low_total    = (64 << 20) / BLUESKY_BLOCK_SIZE;
 int bluesky_watermark_medium_total = (128 << 20) / BLUESKY_BLOCK_SIZE;
+int bluesky_watermark_med2_total   = (224 << 20) / BLUESKY_BLOCK_SIZE;
 int bluesky_watermark_high_total   = (256 << 20) / BLUESKY_BLOCK_SIZE;
 
 /* Environment variables that can be used to initialize settings. */
@@ -53,6 +55,8 @@ static struct {
     {"BLUESKY_CACHE_SIZE", &bluesky_options.cache_size},
     {"BLUESKY_OPT_FULL_SEGMENTS", &bluesky_options.full_segment_fetches},
     {"BLUESKY_OPT_NO_AGGREGATION", &bluesky_options.disable_aggregation},
+    {"BLUESKY_OPT_NO_CRYPTO", &bluesky_options.disable_crypto},
+    {"BLUESKY_OPT_NO_GROUP_READS", &bluesky_options.disable_read_aggregation},
     {NULL, NULL}
 };