summaryrefslogtreecommitdiff
path: root/src/main/patch/houston/default-20230331.patch
blob: 64d362854229d52eeefb5617a938f31432383f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

  My custom patch ready-to-apply to have an "usable" houston.
  
  Contains:
  - Simplelogger
  - Listen localhost only
  - Queue-Retry every 5 seconds.

  Patch based on "houston-02.01.12.00" aka
  "3c61ef7ded53d6340001d2b56cd829d2ae450580" from 2023-01-12.

diff --git a/houston-process/pom.xml b/houston-process/pom.xml
index fff9c178..960c0098 100644
--- a/houston-process/pom.xml
+++ b/houston-process/pom.xml
@@ -20,6 +20,26 @@
     </properties>
 
     <dependencies>
+      <dependency>                              <!-- TODO: Remove -->
+        <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+        <artifactId>slf4j-api</artifactId>      <!-- TODO: Remove -->
+        <version>2.0.1</version>                <!-- TODO: Remove -->
+      </dependency>                             <!-- TODO: Remove -->
+      <dependency>                              <!-- TODO: Remove -->
+        <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+        <artifactId>slf4j-simple</artifactId>   <!-- TODO: Remove -->
+        <version>2.0.1</version>                <!-- TODO: Remove -->
+      </dependency>                             <!-- TODO: Remove -->
+      <dependency>                              <!-- TODO: Remove -->
+        <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+        <artifactId>jcl-over-slf4j</artifactId> <!-- TODO: Remove -->
+        <version>2.0.1</version>                <!-- TODO: Remove -->
+      </dependency>                             <!-- TODO: Remove -->
+      <dependency>                              <!-- TODO: Remove -->
+        <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+        <artifactId>jul-to-slf4j</artifactId>   <!-- TODO: Remove -->
+        <version>2.0.1</version>                <!-- TODO: Remove -->
+      </dependency>                             <!-- TODO: Remove -->
         <!-- project -->
         <dependency>
             <groupId>ch.post.it.paisa.houston</groupId>
diff --git a/houston-process/src/main/java/ch/post/it/paisa/houston/process/main/Deployer.java b/houston-process/src/main/java/ch/post/it/paisa/houston/process/main/Deployer.java
index ee7d8b02..b28ae8d6 100644
--- a/houston-process/src/main/java/ch/post/it/paisa/houston/process/main/Deployer.java
+++ b/houston-process/src/main/java/ch/post/it/paisa/houston/process/main/Deployer.java
@@ -309,7 +309,7 @@ public class Deployer {
                 qc.add(new QueueConfiguration().withPattern("timetable-situation-trips-for-aws").withRetryIntervals(standardDelays)
                     .withEnqueueDelayMillisPerSize(10).withEnqueueMaxDelayMillis(100));
                 // All other queues (typically to backend services) with a slow-down pattern after failed delivery
-                qc.add(new QueueConfiguration().withPattern(".*").withRetryIntervals(standardDelays));
+                qc.add(new QueueConfiguration().withPattern(".*").withRetryIntervals(5/*TODO revert*/));
 
                 RedisquesConfiguration redisquesConfig = RedisquesConfiguration.with()
                         .address(Address.redisquesAddress())