Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
081c502b
Commit
081c502b
authored
Mar 06, 2019
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: new cache algorithm
parent
c84c48ee
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
171 additions
and
224 deletions
+171
-224
neo/client/cache.py
neo/client/cache.py
+170
-223
neo/tests/threaded/test.py
neo/tests/threaded/test.py
+1
-1
No files found.
neo/client/cache.py
View file @
081c502b
This diff is collapsed.
Click to expand it.
neo/tests/threaded/test.py
View file @
081c502b
...
@@ -931,7 +931,7 @@ class Test(NEOThreadedTest):
...
@@ -931,7 +931,7 @@ class Test(NEOThreadedTest):
ll
()
ll
()
x2
.
_p_deactivate
()
x2
.
_p_deactivate
()
# Remove last version of x from cache
# Remove last version of x from cache
cache
.
_
remove
(
cache
.
_oid_dict
[
x2
.
_p_oid
].
pop
()
)
cache
.
_
forget
(
cache
.
_oid_dict
[
x2
.
_p_oid
][
0
]
)
with
ll
,
Patch
(
cluster
.
client
,
_loadFromStorage
=
break_after
):
with
ll
,
Patch
(
cluster
.
client
,
_loadFromStorage
=
break_after
):
t
=
self
.
newThread
(
x2
.
_p_activate
)
t
=
self
.
newThread
(
x2
.
_p_activate
)
ll
()
ll
()
...
...
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