Created
December 6, 2019 17:27
-
-
Save dasl-/dad7962bf936112ec2103727986e36d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/com/etsy/pushbot/PushTrain.java b/src/main/java/com/etsy/pushbot/PushTrain.java | |
index 27d10c6..7ccef75 100644 | |
--- a/src/main/java/com/etsy/pushbot/PushTrain.java | |
+++ b/src/main/java/com/etsy/pushbot/PushTrain.java | |
@@ -120,7 +120,9 @@ public class PushTrain extends LinkedList<PushToken> | |
pushBot.log(exception.getMessage()); | |
} | |
- tryChecker.init(); | |
+ boolean isWebTrain = pushBot.getWebChannel().equals(channel); | |
+ boolean isConfigTrain = pushBot.getConfigChannel().equals(channel); | |
+ tryChecker.init(isWebTrain, isConfigTrain); | |
for(Member member : (memberList)) { | |
member.onHeadOfQueue(pushBot, this, channel); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment