Commit c772fcac authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'noc-1552' into 'master'

#1552 Set DatastreamClient filter_policy to delete on Collectors.

See merge request !5892
parents d67e1f8a 5941b321
Pipeline #34275 passed with stages
in 62 minutes and 4 seconds
......@@ -98,6 +98,7 @@ class PingService(FastAPIService):
"shard(%d,%d)" % (self.slot_number, self.total_slots),
],
block=True,
filter_policy="delete",
)
except NOCError as e:
self.logger.info("Failed to get object mappings: %s", e)
......
......@@ -133,6 +133,7 @@ class SyslogCollectorService(TornadoService):
limit=config.syslogcollector.ds_limit,
filters=["pool(%s)" % config.pool],
block=True,
filter_policy="delete",
)
except NOCError as e:
self.logger.info("Failed to get object mappings: %s", e)
......
......@@ -108,6 +108,7 @@ class TrapCollectorService(TornadoService):
limit=config.trapcollector.ds_limit,
filters=["pool(%s)" % config.pool],
block=True,
filter_policy="delete",
)
except NOCError as e:
self.logger.info("Failed to get object mappings: %s", e)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment