This is an automated email from the ASF dual-hosted git repository. dpavlov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
commit c34315308ea2099fc7ff380ba9f01c82d2fe05c1 Author: Dmitriy Pavlov <dpav...@apache.org> AuthorDate: Wed Oct 24 13:04:24 2018 +0300 IGNITE-9901: Bug fix after persisting builds --- .../src/main/java/org/apache/ignite/ci/observer/ObserverTask.java | 6 +++++- .../java/org/apache/ignite/ci/web/auth/AuthenticationFilter.java | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/observer/ObserverTask.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/observer/ObserverTask.java index 1e9fc76..37d6e0f 100644 --- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/observer/ObserverTask.java +++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/observer/ObserverTask.java @@ -60,7 +60,11 @@ public class ObserverTask extends TimerTask { /** */ private Queue<BuildsInfo> buildsQueue() { - return ignite.queue("buildsQueue", 0, new CollectionConfiguration()); + CollectionConfiguration cfg = new CollectionConfiguration(); + + cfg.setBackups(1); + + return ignite.queue("buildsQueue", 0, cfg); } /** */ diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/auth/AuthenticationFilter.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/auth/AuthenticationFilter.java index 6272ef6..b76cc37 100644 --- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/auth/AuthenticationFilter.java +++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/auth/AuthenticationFilter.java @@ -123,6 +123,8 @@ public class AuthenticationFilter implements ContainerRequestFilter { ExceptionUtil.throwIfRest(e); reqCtx.abortWith(rspUnathorized()); + + return; } if (!authenticate(reqCtx, tokFull, users)) {