[Box Backup-dev] Moving trunk to release
Ben Summers
boxbackup-dev@fluffy.co.uk
Wed, 18 Jan 2006 22:39:51 +0000
On 18 Jan 2006, at 01:21, Martin Ebourne wrote:
> On Tue, 2006-01-17 at 23:27 +0000, Chris Wilson wrote:
>
>> Would it be OK to modify the diffing algorithm to either (1) check a
>> global flag, or (2) check wall time periodically, and to call a
>> callback
>> function which would send a keepalive to the server?
>
> Both sound fine by me. I kind of prefer the latter because it is
> simpler, but if it is called a lot then the overhead of the syscall
> might be expensive, so (1) could be more optimal.
I think I prefer 1, to be honest. There's also a precedent with the
existing "stop after x seconds" timer. Which reminds me, there should
only be one flag to check.
Ben