Simply wait if there's one going already. This is a minor optimization, but critical for the case where we do partial refreshes asynchonously (rather than deleting everything and reloading). This is currently only coinmoves and chainmoves, but the duplicated effort is a waste everywhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
50 KiB
50 KiB