time.sleep delaying Agent components
The polling cycle of some components in the WMAgent is taking too long. The cause is this line in the Dashboard Reporter:
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/Services/Dashboard/DashboardAPI.py#L85
It is called every time that a job report is sent to Dashboard. Hundreds of jobs are reported per polling cycle when the agent has a big load, causing the delays that we observed. 

diff --git a/src/python/WMCore/Services/Dashboard/DashboardAPI.py b/src/python/WMCore/Services/Dashboard/DashboardAPI.py
index 6ce3561ba..92790f725 100644
--- a/src/python/WMCore/Services/Dashboard/DashboardAPI.py
+++ b/src/python/WMCore/Services/Dashboard/DashboardAPI.py
@@ -82,7 +82,6 @@ def apmonFree():
     global APMONINSTANCE
     global APMONINIT
     if APMONINSTANCE is not None:
-        time.sleep(1)
         try:
             APMONINSTANCE.free()
         except Exception:
['src/python/WMCore/Services/Dashboard/DashboardAPI.py']