|
From: <syn...@da...> - 2025-11-16 19:12:27
|
On Mon, Nov 10, 2025 at 10:05:09AM +0100, Oswald Buddenhagen via isync-devel wrote: >>What is so extreme about what I am doing? >> >isync's purpose is to keep both sides in sync. MaxMessages is a >deviation from that. when you push that number down to zero, that's >_literally_ extreme, and you've gone from syncing to fetching. Well, yes. But I meant more in the programming sense. Why would reducing MaxMessages result in a higher likelyhood of something going wrong, and e.g messages being lost? >because MaxMessage doesn't really fit the basic scheme, its >implementation actually comes at a rather significant cost in >complexity; it's easily the most difficult part of the whole codebase. >i don't know if it would be difficult to make it support zero; it >might just work with a few minor changes. patches (with autotests) >welcome. I wee. I will take a look. But be careful what you wish for: the last time I wrote C code was right after reading K&R... and just before the Yahoo IPO. |