Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
okeanos-LoD
Commits
0a725db2
Commit
0a725db2
authored
Mar 17, 2016
by
Ioannis Tsafaras
Browse files
Fix bug concerning starting applications
parent
de05dc1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
webapp/backend/events.py
View file @
0a725db2
...
...
@@ -39,6 +39,9 @@ def set_lambda_instance_status(instance_uuid, status, failure_message=""):
if
(
LambdaInstance
.
status_choices
[
int
(
status
)][
1
]
==
'STOPPING'
):
LambdaInstanceApplicationConnection
.
objects
.
filter
(
lambda_instance
=
lambda_instance
).
update
(
started
=
False
)
lambda_instance
.
started_batch
=
False
lambda_instance
.
started_streaming
=
False
lambda_instance
.
save
()
if
(
LambdaInstance
.
status_choices
[
int
(
status
)][
1
]
==
'DESTROYING'
):
LambdaInstanceApplicationConnection
.
objects
.
filter
(
...
...
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