torhve / weechat-matrix-protocol-script

A WeeChat script in Lua that implements the matrix.org chat protocol
349 stars 52 forks source link

Login times out after 5 seconds... seems a bit short #119

Open kenrestivo opened 6 years ago

kenrestivo commented 6 years ago
00:15:53 weechat     | matrix: Connecting to homeserver URL: https://matrix.spaz.org/
00:15:58 weechat =!= | Call to API errored in command url:https://matrix.spaz.org/_matrix/client/r0/login, maybe
     | timeout?

Seems an awfully short timeout... only 5 seconds...

RX4NT9UP commented 6 years ago

Agree. I had to manually change the timeout to 10 seconds or the script would fail 4/5 attempts

craftyguy commented 5 years ago

You can override this by setting plugins.var.lua.matrix.timeout.

e.g. to set a 30 second timeout:

/set plugins.var.lua.matrix.timeout 30