Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-metal / files / pmon_send_pulse.patch
1 diff -ruN a/mtce/src/pmon/pmonHdlr.cpp b/mtce/src/pmon/pmonHdlr.cpp
2 --- a/mtce/src/pmon/pmonHdlr.cpp        2020-05-15 14:41:42.271215598 +0000
3 +++ b/mtce/src/pmon/pmonHdlr.cpp        2020-05-18 07:11:16.126154700 +0000
4 @@ -1881,10 +1881,7 @@
5               * we can turn this into a customer alarm/log.
6               * Degrade is acheived by not sending the pulses to the watcher.
7               */
8 -            if ( ctrl_ptr->event_mode == true )
9 -            {
10 -                pmon_send_pulse ( );
11 -            }
12 +            pmon_send_pulse ( );
13          }
14  
15          /* Avoid pmond thrashing trying to recover processes during
16 @@ -1930,11 +1927,9 @@
17              {
18                  hostwd_port_init();
19              }
20 -            if ( ctrl_ptr->event_mode == true )
21 -            {
22 -                pmon_send_hostwd ( );
23 -                pmonTimer_hostwd.ring = false;
24 -            }
25 +
26 +           pmon_send_hostwd ( );
27 +           pmonTimer_hostwd.ring = false;
28          }
29  
30          /* Run Get Events by audit timer */