Log message for revision 101758:
  default long_query_time changed to 0.1s, description changed 
  

Changed:
  U   Zope/branches/andig-catalog-report/src/Products/ZCatalog/Catalog.py
  U   Zope/branches/andig-catalog-report/src/Products/ZCatalog/ZCatalog.py
  U   
Zope/branches/andig-catalog-report/src/Products/ZCatalog/dtml/catalogReport.dtml

-=-
Modified: Zope/branches/andig-catalog-report/src/Products/ZCatalog/Catalog.py
===================================================================
--- Zope/branches/andig-catalog-report/src/Products/ZCatalog/Catalog.py 
2009-07-08 21:38:15 UTC (rev 101757)
+++ Zope/branches/andig-catalog-report/src/Products/ZCatalog/Catalog.py 
2009-07-09 08:25:19 UTC (rev 101758)
@@ -756,7 +756,7 @@
             Reports about the duration of queries
         """
 
-        threshold = getattr(self.aq_parent,'long_query_time',0.01)
+        threshold = getattr(self.aq_parent,'long_query_time',0.1)
         cr = CatalogReport(self,request,threshold)
 
         return cr

Modified: Zope/branches/andig-catalog-report/src/Products/ZCatalog/ZCatalog.py
===================================================================
--- Zope/branches/andig-catalog-report/src/Products/ZCatalog/ZCatalog.py        
2009-07-08 21:38:15 UTC (rev 101757)
+++ Zope/branches/andig-catalog-report/src/Products/ZCatalog/ZCatalog.py        
2009-07-09 08:25:19 UTC (rev 101758)
@@ -117,9 +117,9 @@
         {'label': 'Advanced',           # TAB: Advanced
          'action': 'manage_catalogAdvanced',
          'help':('ZCatalog','ZCatalog_Advanced.stx')},
-        {'label': 'Report',               # TAB: Undo
+        {'label': 'Slow Query Report',  # TAB: Slow Query Report
          'action': 'manage_catalogReport',
-         'help': ('ZCatalog','ZCatalog_Report.stx')},
+        },
         {'label': 'Undo',               # TAB: Undo
          'action': 'manage_UndoForm',
          'help': ('OFSP','Undo.stx')},
@@ -167,7 +167,7 @@
     Indexes = ZCatalogIndexes()
 
     threshold=10000
-    long_query_time = 0.01
+    long_query_time = 0.1
     
     _v_total=0
     _v_transaction = None
@@ -192,7 +192,7 @@
         self._catalog = Catalog()
         self._migrated_280 = True
 
-        self.long_query_time = 0.01
+        self.long_query_time = 0.1
 
     def __len__(self):
         # Perform a migration of _catalog.__len__ to _catalog._length
@@ -1043,7 +1043,7 @@
               '/manage_catalogReport?manage_tabs_message=Report%20Cleared')    
 
     security.declareProtected(manage_zcatalog_entries, 
'manage_editCatalogReport')
-    def manage_editCatalogReport(self, RESPONSE, URL1, long_query_time=0.01, 
REQUEST=None):
+    def manage_editCatalogReport(self, RESPONSE, URL1, long_query_time=0.1, 
REQUEST=None):
         """ edit the long query time """
         if type(long_query_time) is not type(1.0):
             long_query_time=float(long_query_time)

Modified: 
Zope/branches/andig-catalog-report/src/Products/ZCatalog/dtml/catalogReport.dtml
===================================================================
--- 
Zope/branches/andig-catalog-report/src/Products/ZCatalog/dtml/catalogReport.dtml
    2009-07-08 21:38:15 UTC (rev 101757)
+++ 
Zope/branches/andig-catalog-report/src/Products/ZCatalog/dtml/catalogReport.dtml
    2009-07-09 08:25:19 UTC (rev 101758)
@@ -2,7 +2,7 @@
 <dtml-var manage_tabs>
 
 <p class="form-help"> 
-   <strong>Catalog Report</strong> reports slow catalog queries to identify 
queries that are performing badly.
+   <strong>Slow Query Report</strong> discovers catalog queries that are 
performing badly.
 </p>
 
 
@@ -93,7 +93,7 @@
        </tr>
        <tr >
         <td colspan="2" align="left" valign="top">
-          <p class="form-help">Only report slow queries that took more than 
"long_query_time" seconds to execute.</p>
+          <p class="form-help">Only report slow queries that took more than 
"long_query_time" seconds to execute (default:&nbsp;0.1&nbsp;s).</p>
         </td>
         <td colspan="2" align="right" valign="top">
          <form action="manage_editCatalogReport" method=POST>

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to