Madan Jampani
Committed by Gerrit Code Review

Move flow store backup activity off of the event loop thread

Change-Id: I6e63b49dbb2917d4c8b8b31b96d4674febd6a12c
......@@ -620,7 +620,9 @@ public class NewDistributedFlowRuleStore
// ignore since backup location hasn't changed.
return;
}
backupFlowEntries(latestBackupNode, Sets.newHashSet(deviceId));
backupSenderExecutor.schedule(() -> backupFlowEntries(latestBackupNode, Sets.newHashSet(deviceId)),
0,
TimeUnit.SECONDS);
}
}
......