Skip to content

Commit

Permalink
Update task policy for contrail-dns.
Browse files Browse the repository at this point in the history
When XMPP channel with agent clsoes, the records exported from there
are removed in the cleaner task context. Update the task policy to
ensure the config and bind tasks do not run in parallel with it.

Change-Id: Ic92f147060c39e452742aa67ace7e3a6f3ddc5a3
closes-bug: 1533811
  • Loading branch information
haripk committed Jan 22, 2016
1 parent fd70b33 commit 026d526
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dns/cmn/dns.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ void Dns::SetTaskSchedulingPolicy() {
exclude_io);

const char *garbage_exclude_list[] = {
"dns::Config",
"dns::BindStatus",
"db::DBTable",
"bgp::Config",
"xmpp::StateMachine",
};
Expand Down

0 comments on commit 026d526

Please sign in to comment.