GPaste icon indicating copy to clipboard operation
GPaste copied to clipboard

Timing out with large history

Open jtojnar opened this issue 1 year ago • 4 comments

I have a long history (history.xml has 71MB) and the the systemd service now takes about 3 minutes and 10 seconds to start. (I had to increase TimeoutSec key for org.gnome.GPaste.service, since the default ¿90? is insufficient.)

But what is worse, the GNOME Shell extension itself times out and the panel menu just shows (Couldn't connect to GPaste daemon), the following logged into journal:

JS ERROR: Gio.IOErrorEnum: Timeout was reached
_refresh/<@/run/current-system/sw/share/gnome-shell/extensions/[email protected]/indicator.js:264:37

Now I can have it connect by disabling and re-enabling the extension in the extension manager but doing it on every log-in is annoying.

It would be nice if we could optimize GPaste, or at least make the timeouts longer.

jtojnar avatar Sep 24 '22 00:09 jtojnar