You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/plugins/kosync.koplugin
NiLuJe 6fa8e1d2fd
KOSync: Set sane socket timeouts properly (#10835)
An attempt was made in the original code, but the whole thing was designed in the hope of actually switching to turbo, so it was super janky without it.
Anyway, we now actually have a sane way to set socket timeouts, so, use that, and set them very tight for now.

This is fairly critical right now, because the server is down, and the default timeouts are ~30s. That happens to be *above* the debounce threshold, so you can't even hope for that to help you. Meaning, right now, you get a 2 * 30s block on resume with auto sync. That's... Very Not Good(TM).

That becomes a single 2s one after this.
9 months ago
..
KOSyncClient.lua KOSync: Set sane socket timeouts properly (#10835) 9 months ago
_meta.lua [Fix] Don't load disabled plugins (#4169) 6 years ago
api.json [fix] KOSync plugin server location (#3288) 7 years ago
main.lua KOSync: Only nag about "Action when Wi-Fi is off" when toggling (#10785) 10 months ago