Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
ad9c22cc
Commit
ad9c22cc
authored
Mar 23, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added import of getrefcound from sys.
parent
748e006e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/ZODB/PickleCache.py
src/ZODB/PickleCache.py
+7
-2
No files found.
src/ZODB/PickleCache.py
View file @
ad9c22cc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
__doc__
=
'''PickleJar Object Cache
__doc__
=
'''PickleJar Object Cache
$Id: PickleCache.py,v 1.
1 1997/12/15 17:51:55
jim Exp $'''
$Id: PickleCache.py,v 1.
2 1998/03/23 15:50:27
jim Exp $'''
# Copyright
# Copyright
#
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
@@ -54,8 +54,10 @@ $Id: PickleCache.py,v 1.1 1997/12/15 17:51:55 jim Exp $'''
...
@@ -54,8 +54,10 @@ $Id: PickleCache.py,v 1.1 1997/12/15 17:51:55 jim Exp $'''
#
#
# (540) 371-6909
# (540) 371-6909
#
#
__version__
=
'$Revision: 1.
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
from
sys
import
getrefcount
class
PickleCache
:
class
PickleCache
:
def
__init__
(
self
,
cache_size
,
cache_age
=
1000
):
def
__init__
(
self
,
cache_size
,
cache_age
=
1000
):
...
@@ -104,6 +106,9 @@ class PickleCache:
...
@@ -104,6 +106,9 @@ class PickleCache:
############################################################################
############################################################################
#
#
# $Log: PickleCache.py,v $
# $Log: PickleCache.py,v $
# Revision 1.2 1998/03/23 15:50:27 jim
# Added import of getrefcound from sys.
#
# Revision 1.1 1997/12/15 17:51:55 jim
# Revision 1.1 1997/12/15 17:51:55 jim
# Split off from PickleJar.
# Split off from PickleJar.
#
#
...
...
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