Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
openmole
openmole
Commits
424ce663
Commit
424ce663
authored
Jun 16, 2019
by
Romain Reuillon
Browse files
Merge branch 'retrydelay' into 'master'
[Plugin] fix: add submit retry delay See merge request
openmole/openmole!15
parents
0d0809f7
bbdf3607
Changes
2
Hide whitespace changes
Inline
Side-by-side
openmole/plugins/org.openmole.plugin.environment.batch/src/main/scala/org/openmole/plugin/environment/batch/environment/BatchEnvironment.scala
View file @
424ce663
...
...
@@ -98,8 +98,9 @@ object BatchEnvironment {
}
val
MemorySizeForRuntime
=
ConfigurationLocation
(
"BatchEnvironment"
,
"MemorySizeForRuntime"
,
Some
(
1024
megabytes
))
val
CheckInterval
=
ConfigurationLocation
(
"BatchEnvironment"
,
"CheckInterval"
,
Some
(
1
minutes
))
val
SubmitRetryInterval
=
ConfigurationLocation
(
"BatchEnvironment"
,
"SubmitRetryInterval"
,
Some
(
30
seconds
))
val
GetTokenInterval
=
ConfigurationLocation
(
"BatchEnvironment"
,
"GetTokenInterval"
,
Some
(
1
minutes
))
...
...
openmole/plugins/org.openmole.plugin.environment.batch/src/main/scala/org/openmole/plugin/environment/batch/refresh/SubmitActor.scala
View file @
424ce663
...
...
@@ -36,7 +36,7 @@ object SubmitActor {
catch
{
case
e
:
Throwable
⇒
JobManager
!
Error
(
job
,
e
,
None
)
JobManager
!
Submit
(
job
)
JobManager
!
Delay
(
Submit
(
job
)
,
preference
(
BatchEnvironment
.
SubmitRetryInterval
))
}
}
}
...
...
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