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
21
Merge Requests
21
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
7aa47383
Commit
7aa47383
authored
Feb 18, 2025
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_cloud: bypass a cache issue caused by the auto stop alarm
parent
502080e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareInstance_tryToStopCollect.py
...l_skins/slapos_cloud/SoftwareInstance_tryToStopCollect.py
+6
-0
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareInstance_tryToStopCollect.py
View file @
7aa47383
...
...
@@ -44,3 +44,9 @@ if (instance_tree.getSlapState() == "stop_requested"):
state
=
"stopped"
,
comment
=
"Stop collect %s"
%
instance
.
getRelativeUrl
()
)
# reset request cache
# It is required to allow requested to start the instance again
# XXX TODO: the cache handling must be fixed, as it is spreaded
# in multiple places, which probably means there are other bugs like this
if
requester
.
getPortalType
()
==
'Software Instance'
:
requester
.
setLastData
({},
key
=
'_'
.
join
([
requester
.
getRelativeUrl
(),
instance
.
getTitle
()]))
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