-
funnyman
yes
-
rom1dep
lovetox: I noticed a growing "storage" branch, is there some place I can read more about its purpose? 🙂
-
rom1dep
I have many MUCs and I've noticed that gajim 1.8.0 has a hard time fetching MAM, I've also noticed that after keeping the client running for a while, it takes a long time to switch from chat to chat, I was wondering if this branch has any intent to improve upon that, and whether it's a good time/idea to start testing it
-
lovetox
no, its a new db layout, i dont think it will help with your problems
-
lovetox
and no its not ready for testing
-
lovetox
Gajim becoming slow on chat switches after long time of running, is also something i notice, but no time to track down what could be the cause
-
lovetox
im not aware of any MAM related problems, how do they manifest?
-
thecast
I also see that slowdown happen for only an individual muc if someone spams it really hard or sends a really big message that ends up having "show more" or whatever at the bottom✎ -
thecast
I also see that slowdown happen for only an individual chat if someone spams it really hard or sends a really big message that ends up having "show more" or whatever at the bottom ✏
-
rom1dep
lovetox: some rooms never actually finish catching up with MAM (the new spinning icon keeps spinning forever). Could be that the server times out/fails to serve a response because the SQL server behind is under some load, I don't know if that's something the client could be made aware of
-
lovetox
but then its not Gajim that has a problem with MAM
-
rom1dep
I suspect some rooms block others
-
rom1dep
if the catch-up is sequential
-
lovetox
everything is sequential in xmpp
-
lovetox
i doubt that this is the problem, except you are on a very slow connection
-
rom1dep
could gajim have a sane timeout and skip/try later a room that fails to respond?
-
lovetox
and then it would finish, but just later
-
rom1dep
I don't have a slow connection, just a IO-starved server 🙂
-
lovetox
soo.. then it just finishes later
-
lovetox
why would the server never serve the request
-
lovetox
what would it make for a difference if i send the request again 5 minutes later? then im again behind in the queue of whatever the server trys to work
-
rom1dep
> why would the server never serve the request because ejabberd cancels the query. I can configure extremely long SQL timeouts, though ↺
-
rom1dep
> what would it make for a difference if i send the request again 5 minutes later? then im again behind in the queue of whatever the server trys to work because if the server choses not to respond, the client waits indefinitely for something that will never happen. Trying it again later at least gives it a chance ↺
-
rom1dep
but I agree it's dirty
-
rom1dep
ideally the server should have a "protocol" to communicate to the client that it won't get a response ATM
-
lovetox
sounds weird to me, i responds to a muc join, but not to the iq?
-
lovetox
if it thinks it cannot fullfill the request, it can always send a iq back with an error
-
lovetox
> ideally the server should have a "protocol" to communicate to the client that it won't get a response ATM
-
lovetox
there is
-
lovetox
<iq><error type=wait><text>server is busy try later</text></error></iq>
-
lovetox
if the server sends this im happy to try again later
-
rom1dep
bbl
-
lovetox
but there is no IQ timeout cancel from client sid✎ -
lovetox
but there is no IQ timeout cancel from client side ✏
-
lovetox
not in the xmpp protocol i mean
-
lovetox
so yeah it would be dirty
-
rom1dep
so, in fact I should see if the erlang process crash I see as a result of the db not responding results in something like this: `<iq><error type=wait><text>server is busy try later</text></error></iq>` being sent