Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ee04498c
Commit
ee04498c
authored
Mar 24, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to give more likely database size.
parent
350c7790
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/App/CacheManager.py
lib/python/App/CacheManager.py
+6
-3
No files found.
lib/python/App/CacheManager.py
View file @
ee04498c
...
@@ -58,8 +58,8 @@
...
@@ -58,8 +58,8 @@
__doc__
=
'''Cache management support
__doc__
=
'''Cache management support
$Id: CacheManager.py,v 1.
5 1998/02/05 15:20:2
1 jim Exp $'''
$Id: CacheManager.py,v 1.
6 1998/03/24 16:39:1
1 jim Exp $'''
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
import
Globals
,
time
,
sys
import
Globals
,
time
,
sys
...
@@ -73,7 +73,7 @@ class CacheManager:
...
@@ -73,7 +73,7 @@ class CacheManager:
def
cache_length
(
self
):
return
len
(
Globals
.
Bobobase
.
_jar
.
cache
)
def
cache_length
(
self
):
return
len
(
Globals
.
Bobobase
.
_jar
.
cache
)
def
database_size
(
self
):
return
len
(
Globals
.
Bobobase
.
_jar
.
db
.
index
)
def
database_size
(
self
):
return
len
(
Globals
.
Bobobase
.
_jar
.
db
.
index
)
*
4
def
cache_age
(
self
):
return
self
.
_cache_age
def
cache_age
(
self
):
return
self
.
_cache_age
def
manage_cache_age
(
self
,
value
,
REQUEST
):
def
manage_cache_age
(
self
,
value
,
REQUEST
):
...
@@ -157,6 +157,9 @@ class CacheManager:
...
@@ -157,6 +157,9 @@ class CacheManager:
##############################################################################
##############################################################################
#
#
# $Log: CacheManager.py,v $
# $Log: CacheManager.py,v $
# Revision 1.6 1998/03/24 16:39:11 jim
# Changed to give more likely database size.
#
# Revision 1.5 1998/02/05 15:20:21 jim
# Revision 1.5 1998/02/05 15:20:21 jim
# Lowered cache size.
# Lowered cache size.
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment