Skip to content

Commit ecd99c7

Browse files
marian-pritsakShuotian Cheng
authored andcommitted
[swss]: Flush flex counter DB in swss_serivce.j2 (#1029)
1 parent 04814cb commit ecd99c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

files/build_templates/swss.service.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ExecStartPre=/bin/bash -c "while true; do if [ \"$(/usr/bin/docker exec database
1717
ExecStartPre=/usr/bin/docker exec database redis-cli -n 0 FLUSHDB
1818
ExecStartPre=/usr/bin/docker exec database redis-cli -n 1 FLUSHDB
1919
ExecStartPre=/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
20+
ExecStartPre=/usr/bin/docker exec database redis-cli -n 5 FLUSHDB
2021

2122
{% if sonic_asic_platform == 'mellanox' %}
2223
TimeoutStartSec=3min

0 commit comments

Comments
 (0)