Committed by
Gerrit Code Review
Move flow store backup activity off of the event loop thread
Change-Id: I6e63b49dbb2917d4c8b8b31b96d4674febd6a12c
Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -620,7 +620,9 @@ public class NewDistributedFlowRuleStore | ... | @@ -620,7 +620,9 @@ public class NewDistributedFlowRuleStore |
620 | // ignore since backup location hasn't changed. | 620 | // ignore since backup location hasn't changed. |
621 | return; | 621 | return; |
622 | } | 622 | } |
623 | - backupFlowEntries(latestBackupNode, Sets.newHashSet(deviceId)); | 623 | + backupSenderExecutor.schedule(() -> backupFlowEntries(latestBackupNode, Sets.newHashSet(deviceId)), |
624 | + 0, | ||
625 | + TimeUnit.SECONDS); | ||
624 | } | 626 | } |
625 | } | 627 | } |
626 | 628 | ... | ... |
-
Please register or login to post a comment