attn: Add wait for power fault handling
Added a 10 second delay between checkstop detection and call to analyzer
so that power fault handler logic can intervene before analyzer begins
logging events.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I13d36e9fed35ff8af690a5f38bf4476027a4fea2
diff --git a/attn/attn_handler.cpp b/attn/attn_handler.cpp
index 67390d8..4022d06 100644
--- a/attn/attn_handler.cpp
+++ b/attn/attn_handler.cpp
@@ -243,6 +243,9 @@
}
else
{
+ // wait for power fault handling before starting analyses
+ sleepSeconds(POWER_FAULT_WAIT);
+
// Look for any attentions found in hardware. This will generate and
// commit a PEL if any errors are found.
DumpParameters dumpParameters;