Skip to content

Commit

Permalink
- move comment and remove auto-refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Oct 26, 2023
1 parent 6e8de12 commit f9c44ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/App/ZODBConnectionDebugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ def get_info(connection):
request_info_formatted = pprint.pformat(request_info)

if opened is not None:
# output UTC time with the standard Z time zone indicator
open_since = "{}".format(
time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(opened)))
open_for = "{:.2f}s".format(now - opened)
else:
open_since = '(closed)'
open_for = ''

# output UTC time with the standard Z time zone indicator
result.append({
'open_since': open_since,
'open_for': open_for,
Expand Down
4 changes: 0 additions & 4 deletions src/App/dtml/zodbConnections.dtml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<dtml-var manage_page_header>
<dtml-if debug_auto_reload>
<meta HTTP-EQUIV="Refresh"
CONTENT="&dtml-debug_auto_reload;;URL=&dtml-URL;?debug_auto_reload=&dtml-debug_auto_reload;">
</dtml-if>
<dtml-with "_(management_view='ZODB Connections')">
<dtml-var manage_tabs>
</dtml-with>
Expand Down

0 comments on commit f9c44ad

Please sign in to comment.