Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
999305ae
Commit
999305ae
authored
Apr 05, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: decrease the activity priority value
Try to not accumulate too many activities
parent
d9412a1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
product/ERP5/bootstrap/erp5_core/MixinTemplateItem/portal_components/mixin.erp5.SimulableMixin.py
...mplateItem/portal_components/mixin.erp5.SimulableMixin.py
+5
-1
No files found.
product/ERP5/bootstrap/erp5_core/MixinTemplateItem/portal_components/mixin.erp5.SimulableMixin.py
View file @
999305ae
...
...
@@ -100,7 +100,11 @@ class SimulableMixin(Base):
applied_rule
=
self
.
_createRootAppliedRule
()
expand_root
=
applied_rule
is
not
None
activate_kw
=
{
'tag'
:
'build:'
+
self
.
getPath
(),
'priority'
:
SIMULATION_PRIORITY
# Keep this value lower than the current priority
# to allow the full _updateSimulation
# to be finished before triggering new one
# and so, trying to not increase the number of activities
'priority'
:
max
(
1
,
SIMULATION_PRIORITY
-
1
)
}
if
expand_root
:
applied_rule
.
expand
(
activate_kw
=
activate_kw
)
...
...
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