From 7bace85c1568b44d1fa50b82fb8d764bc8a4335f Mon Sep 17 00:00:00 2001
From: Bolke de Bruin <bolke@xs4all.nl>
Date: Sat, 25 Jul 2020 21:37:55 +0200
Subject: [PATCH] Add bigger bitmap cache

---
 api/web.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/api/web.go b/api/web.go
index c262203..fbe2cae 100644
--- a/api/web.go
+++ b/api/web.go
@@ -182,5 +182,6 @@ func (c *Config) HandleDownload(w http.ResponseWriter, r *http.Request) {
 			"networkautodetect:i:"+strconv.Itoa(c.NetworkAutoDetect)+"\r\n"+
 			"bandwidthautodetect:i:"+strconv.Itoa(c.BandwidthAutoDetect)+"\r\n"+
 			"connection type:i:"+strconv.Itoa(c.ConnectionType)+"\r\n"+
-			"username:s:"+user+"\r\n"))
+			"username:s:"+user+"\r\n"+
+			"bitmapcachesize:i:32000\r\n"))
 }
-- 
GitLab