Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
fa66e9d8
Commit
fa66e9d8
authored
Sep 20, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ask recalculation each minute.
parent
5097e87c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+2
-2
No files found.
master/product/Vifib/Tool/SlapTool.py
View file @
fa66e9d8
...
...
@@ -192,8 +192,8 @@ class SlapTool(BaseTool):
entry
=
None
if
entry
is
not
None
and
type
(
entry
.
getValue
())
==
type
({}):
result
=
entry
.
getValue
()[
'data'
]
if
time
.
time
()
-
entry
.
getValue
()[
'time'
]
>
60
*
5
:
# entry was stored
5
minutes ago, ask for recalculation
if
time
.
time
()
-
entry
.
getValue
()[
'time'
]
>
60
*
1
:
# entry was stored
1
minutes ago, ask for recalculation
self
.
_activateFillComputerInformationCache
(
computer_id
,
user
,
full
)
return
result
else
:
...
...
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