Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
clean-and-itasks
iTasks-SDK
Commits
cfeb546f
Verified
Commit
cfeb546f
authored
Sep 10, 2019
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
!319
: warning on one line; fix spacing; redundant parentheses
parent
b55efdae
Pipeline
#29332
passed with stage
in 4 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Libraries/iTasks/Engine.icl
Libraries/iTasks/Engine.icl
+3
-3
No files found.
Libraries/iTasks/Engine.icl
View file @
cfeb546f
...
...
@@ -55,15 +55,15 @@ doTasksWithOptions initFun startable world
#
(
symbolsResult
,
iworld
)
=
initSymbolsShare
options
.
distributed
options
.
appName
iworld
|
symbolsResult
=:
(
Error
_)
=
show
[
"Error reading symbols while required: "
+++
fromError
symbolsResult
]
(
setReturnCode
1
(
destroyIWorld
iworld
))
#
iworld
=
if
(
hasDup
requestPaths
)
(
iShow
[
"
Duplicate path in the web tasks: "
,
join
", "
[
"'"
+++
p
+++
"'"
\\
p
<-
requestPaths
]]
iworld
)
(
iShow
[
"
Warning: duplicate paths in the web tasks: "
+++
join
", "
[
"'"
+++
p
+++
"'"
\\
p
<-
requestPaths
]]
iworld
)
iworld
#
iworld
=
serve
(
startupTasks
options
)
(
tcpTasks
options
.
serverPort
options
.
keepaliveTime
)
(
timeout
options
.
timeout
)
iworld
=
destroyIWorld
iworld
where
requestPaths
=
[
path
\\{
path
}<-
webTasks
]
webTasks
=
[
t
\\
WebTask
t
<-
toStartable
startable
]
webTasks
=
[
t
\\
WebTask
t
<-
toStartable
startable
]
startupTasks
{
distributed
,
sdsPort
}
=
if
(
webTasks
=:
[])
=
if
webTasks
=:[]
//if there are no webtasks: stop when stable
[
systemTask
(
startTask
stopOnStable
)]
//if there are: show instructions andcleanup old sessions
...
...
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