mu4e-server: demote 'Cannot handle command ...' to message

It was a warning, but seems some users got it a lot (which is a sign
they're spending too much time indexing!); so let's demote it to a mere
message.

Issue #2778.
This commit is contained in:
Dirk-Jan C. Binnema
2024-11-03 16:02:35 +02:00
parent bbf3482881
commit 33c09c5722

View File

@ -548,7 +548,7 @@ You cannot run the repl when mu4e is running (or vice-versa)."
(mu4e--server-start)) (mu4e--server-start))
;; in single-threaded mode, mu can't accept our command right now. ;; in single-threaded mode, mu can't accept our command right now.
(when (and (mu4e--server-xapian-single-threaded-p) mu4e--server-indexing) (when (and (mu4e--server-xapian-single-threaded-p) mu4e--server-indexing)
(mu4e-warn "Cannot handle command while indexing, please retry later.")) (mu4e-message "Cannot handle command while indexing, please retry later."))
(let* ((print-length nil) (print-level nil) (let* ((print-length nil) (print-level nil)
(cmd (format "%S" form))) (cmd (format "%S" form)))
(mu4e-log 'to-server "%s" cmd) (mu4e-log 'to-server "%s" cmd)