You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/09/10 12:38:17 UTC

[incubator-dlab] branch develop updated: [DLAB-1081]: Fixed bug with scheduler by inactivity

This is an automated email from the ASF dual-hosted git repository.

bhliva pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 03d7a32  [DLAB-1081]: Fixed bug with scheduler by inactivity
     new cf8fb16  Merge pull request #291 from ofuks/DLAB-1081
03d7a32 is described below

commit 03d7a3262de3b2fbc7e844c63190e2d8ca91f4ac
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Mon Sep 9 13:17:51 2019 +0300

    [DLAB-1081]: Fixed bug with scheduler by inactivity
---
 .../src/main/java/com/epam/dlab/backendapi/dao/SchedulerJobDAO.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/SchedulerJobDAO.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/SchedulerJobDAO.java
index 597d0f9..ea9ada2 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/SchedulerJobDAO.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/SchedulerJobDAO.java
@@ -172,7 +172,7 @@ public class SchedulerJobDAO extends BaseDAO {
 
 	private FindIterable<Document> computationalResourcesWithScheduler(UserInstanceStatus exploratoryStatus) {
 		final Bson computationalSchedulerCondition = Filters.elemMatch(COMPUTATIONAL_RESOURCES,
-				and(schedulerNotNullCondition(), eq(CHECK_INACTIVITY_FLAG, false)));
+				and(schedulerNotNullCondition()));
 		return find(USER_INSTANCES,
 				and(eq(STATUS, exploratoryStatus.toString()), computationalSchedulerCondition),
 				fields(excludeId(), include(USER, EXPLORATORY_NAME, COMPUTATIONAL_RESOURCES)));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org