We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e288dc commit e557855Copy full SHA for e557855
orchagent/pfc_detect_innovium.lua
@@ -79,7 +79,7 @@ for i = n, 1, -1 do
79
-- redis.call('HSET', counters_table_name .. ':' .. KEYS[i], 'K7_debug_3', 'YES')
80
81
82
- if (occupancy_bytes > 0 and packets - packets_last == 0 and pfc_rx_packets - pfc_rx_packets_last > 0) or
+ if (occupancy_bytes > 0 and packets - packets_last == 0 and pfc_rx_packets - pfc_rx_packets_last > 0 and (pfc_duration - pfc_duration_last) > poll_time * 0.8) or
83
-- DEBUG CODE START. Uncomment to enable
84
(debug_storm == "enabled") or
85
-- DEBUG CODE END.
0 commit comments