summaryrefslogtreecommitdiff
path: root/src/main/patch/houston/default-20230203.patch
blob: c1deeca358499677f4c9932a7dcbd2c355775bac (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

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

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 @@
         <skip.node.install>true</skip.node.install>
 	</properties>
 	<dependencies>
+    <dependency>                              <!-- TODO: Remove -->
+      <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+      <artifactId>slf4j-api</artifactId>      <!-- TODO: Remove -->
+      <version>1.7.25</version>               <!-- TODO: Remove -->
+    </dependency>                             <!-- TODO: Remove -->
+    <dependency>                              <!-- TODO: Remove -->
+      <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+      <artifactId>slf4j-simple</artifactId>   <!-- TODO: Remove -->
+      <version>1.7.25</version>               <!-- TODO: Remove -->
+    </dependency>                             <!-- TODO: Remove -->
+    <dependency>                              <!-- TODO: Remove -->
+      <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+      <artifactId>jcl-over-slf4j</artifactId> <!-- TODO: Remove -->
+      <version>1.7.25</version>               <!-- TODO: Remove -->
+    </dependency>                             <!-- TODO: Remove -->
+    <dependency>                              <!-- TODO: Remove -->
+      <groupId>org.slf4j</groupId>            <!-- TODO: Remove -->
+      <artifactId>jul-to-slf4j</artifactId>   <!-- TODO: Remove -->
+      <version>1.7.25</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
@@ -256,7 +256,7 @@ public class Deployer {
                 qc.add(new QueueConfiguration().withPattern("brox-from-vehicles-.*").withRetryIntervals(10, 20, 30, 60, 120)
                         .withEnqueueDelayMillisPerSize(10).withEnqueueMaxDelayMillis(10_000));
                 // All other queues (typically to backend services) with a slow-down pattern after failed delivery
-                qc.add(new QueueConfiguration().withPattern(".*").withRetryIntervals(10, 20, 30, 60, 120));
+                qc.add(new QueueConfiguration().withPattern(".*").withRetryIntervals(5));/*TODO revert*/

                 RedisquesConfiguration redisquesConfig = RedisquesConfiguration.with()
                         .address(Address.redisquesAddress())