try to receive attachments

This commit is contained in:
Aine
2022-08-22 18:43:12 +03:00
parent abb6c027bf
commit 69f20e5670
6 changed files with 86 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ func Start(domain, port, loglevel string, client Client) error {
s.AuthDisabled = true
s.ReadTimeout = 10 * time.Second
s.WriteTimeout = 10 * time.Second
s.MaxMessageBytes = 63 * 1024
s.MaxMessageBytes = 128 * 1024
if log.GetLevel() == "DEBUG" || log.GetLevel() == "TRACE" {
s.Debug = os.Stdout
}