Skip to content

Commit 9ab6c51

Browse files
authored
[flex counter] Flex counter threads consume too much CPU resources. sonic-net#9202 (sonic-net#1925)
* [flex counter] Flex counter threads consume too much CPU resources. sonic-net#9202 Increase the interval up lmit from 30 seconds to 60 seconds * only modify the interval of watermark counter group * fix merge conflict * fix commit issue
1 parent 2ec47a5 commit 9ab6c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

counterpoll/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def watermark():
204204
""" Watermark counter commands """
205205

206206
@watermark.command()
207-
@click.argument('poll_interval', type=click.IntRange(1000, 30000))
207+
@click.argument('poll_interval', type=click.IntRange(1000, 60000))
208208
def interval(poll_interval):
209209
""" Set watermark counter query interval for both queue and PG watermarks """
210210
configdb = ConfigDBConnector()

0 commit comments

Comments
 (0)