YunoHost-Apps / codimd_ynh

CodiMD package for YunoHost
https://hackmd.io/
GNU General Public License v3.0
11 stars 12 forks source link

Augment tooBusyLag value (fixes message "I'm busy right now, try again later) #48

Closed fflorent closed 4 years ago

fflorent commented 4 years ago

Problem

Solution

PR Status

Package_check results


Build Status

fflorent commented 4 years ago

@lapineige @ericgaspar I am not sure how I should test using Package_check. Or should I let you do that for me?

ericgaspar commented 4 years ago

I had explanations with the CodiMD developers on this option and how much we should set it:

for the demo instance I pushed it to 200, iirc. Depending on the machine 1000 might be an option. It basically means that CodiMD doesn't send out a "I'm busy" note even when it takes a second to answer requests. I wouldn't necessarily set it to 1000, no. But increasing it is fine and might be a good idea for low compute devices like a old generation raspberry Pi as soon as you get load on it.

fflorent commented 4 years ago

I had explanations with the CodiMD developers on this option and how much we should set it:

for the demo instance I pushed it to 200, iirc. Depending on the machine 1000 might be an option. It basically means that CodiMD doesn't send out a "I'm busy" note even when it takes a second to answer requests. I wouldn't necessarily set it to 1000, no. But increasing it is fine and might be a good idea for low compute devices like a old generation raspberry Pi as soon as you get load on it.

Thanks for your feedback. What value do you think it would be fair?

Florent

lapineige commented 4 years ago

If that value is reached, the server don't let you interact with your document, right ?

I'd prefer a relatively high value and laggy service on old hardware, but users being able to actually use it, instead of blocking them.

fflorent commented 4 years ago

If that value is reached, the server don't let you interact with your document, right ?

Yes.

lapineige commented 4 years ago

Then 1s is fine for me. Or anything between 0,5 and 1s.