Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
cfd527f5
Commit
cfd527f5
authored
Sep 06, 2018
by
Haye Böhm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CLI options for toggling distributed mode
parent
6f4f6f10
Pipeline
#13779
failed with stage
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Libraries/iTasks/Engine.icl
Libraries/iTasks/Engine.icl
+3
-1
No files found.
Libraries/iTasks/Engine.icl
View file @
cfd527f5
...
...
@@ -142,6 +142,8 @@ where
(
"Specify the folder containing the temporary files
\n
default: "
+++
defaults
.
tempDirPath
)
,
Option
[]
[
"sapldir"
]
(
ReqArg
(\
p
->
fmap
\
o
->{
o
&
saplDirPath
=
p
})
"PATH"
)
(
"Specify the folder containing the sapl files
\n
default: "
+++
defaults
.
saplDirPath
)
,
Option
[]
[
"distributed"
]
(
NoArg
(
fmap
\
o
->{
o
&
distributed
=
True
}))
"Enable distributed mode (populate the symbols share)"
]
onStartup
::
(
Task
a
)
->
StartableTask
|
iTask
a
...
...
@@ -215,7 +217,7 @@ defaultEngineOptions world
,
sessionTime
=
{
tv_sec
=
60
,
tv_nsec
=
0
}
// 1 minute, (the client pings every 10 seconds by default)
,
persistTasks
=
False
,
autoLayout
=
True
,
distributed
=
Tru
e
,
distributed
=
Fals
e
,
timeout
=
Just
500
,
webDirPath
=
appDir
</>
appName
+++
"-www"
,
storeDirPath
=
appDir
</>
appName
+++
"-data"
</>
"stores"
...
...
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