Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Justin
slapos
Commits
64253339
Commit
64253339
authored
Jul 28, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait longer between the runs.
parent
a72e960e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
slapos/recipe/erp5/erp5.py
slapos/recipe/erp5/erp5.py
+2
-1
No files found.
slapos/recipe/erp5/erp5.py
View file @
64253339
...
@@ -38,6 +38,7 @@ class ERP5Updater(object):
...
@@ -38,6 +38,7 @@ class ERP5Updater(object):
header_dict
=
{}
header_dict
=
{}
sleeping_time
=
300
sleeping_time
=
300
short_sleeping_time
=
60
def
__init__
(
self
,
user
,
password
,
host
,
def
__init__
(
self
,
user
,
password
,
host
,
site_id
,
mysql_url
,
memcached_address
,
site_id
,
mysql_url
,
memcached_address
,
...
@@ -288,7 +289,7 @@ class ERP5Updater(object):
...
@@ -288,7 +289,7 @@ class ERP5Updater(object):
def
run
(
self
):
def
run
(
self
):
""" Keep running until kill"""
""" Keep running until kill"""
while
1
:
while
1
:
time
.
sleep
(
30
)
time
.
sleep
(
self
.
short_sleeping_time
)
if
not
self
.
updateERP5Site
():
if
not
self
.
updateERP5Site
():
self
.
loadSystemSignatureDict
()
self
.
loadSystemSignatureDict
()
if
self
.
_hasFailureActivity
():
if
self
.
_hasFailureActivity
():
...
...
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