Skip to content

Commit 8e960ca

Browse files
committed
Merge pull request #3517 from mboersma/back-to-confd-interval
fix(*): use "confd --interval 5" instead of "--watch"
2 parents 54757a0 + 4195e39 commit 8e960ca

6 files changed

Lines changed: 6 additions & 7 deletions

File tree

builder/image/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ until confd -onetime -node $ETCD --confdir /app --log-level error; do
4747
done
4848

4949
# spawn confd in the background to update services based on etcd changes
50-
confd -node $ETCD --confdir /app --log-level error --watch &
50+
confd -node $ETCD --confdir /app --log-level error --interval 5 &
5151
CONFD_PID=$!
5252

5353
# remove any pre-existing docker.sock

controller/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function on_exit() {
9191
trap on_exit TERM
9292

9393
# spawn confd in the background to update services based on etcd changes
94-
confd -node $ETCD --confdir /app --log-level error --watch &
94+
confd -node $ETCD --confdir /app --log-level error --interval 5 &
9595
CONFD_PID=$!
9696

9797
echo deis-controller running...

database/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function on_exit() {
110110
trap on_exit INT TERM
111111

112112
# spawn confd in the background to update services based on etcd changes
113-
confd -node $ETCD -confdir /app --log-level error --watch &
113+
confd -node $ETCD -confdir /app --log-level error --interval 5 &
114114
CONFD_PID=$!
115115

116116
# wait for the service to become available

registry/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function on_exit() {
6767
trap on_exit INT TERM
6868

6969
# spawn confd in the background to update services based on etcd changes
70-
confd -node $ETCD --confdir /app --log-level error --watch &
70+
confd -node $ETCD --confdir /app --log-level error --interval 5 &
7171
CONFD_PID=$!
7272

7373
echo deis-registry running...

store/admin/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
ETCD_PORT=${ETCD_PORT:-4001}
77
ETCD="$HOST:$ETCD_PORT"
88

9-
confd -node $ETCD --confdir /app --log-level error --watch &
9+
confd -node $ETCD --confdir /app --log-level error --interval 5 &
1010

1111
# loop forever until the container is stopped
1212
while true; do

store/gateway/bin/boot

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function on_exit() {
106106
trap on_exit INT TERM
107107

108108
# spawn confd in the background to update services based on etcd changes
109-
confd -node $ETCD --confdir /app --log-level error --watch &
109+
confd -node $ETCD --confdir /app --log-level error --interval 5 &
110110
CONFD_PID=$!
111111

112112
echo deis-store-gateway running...
@@ -142,4 +142,3 @@ if [[ ! -z $EXTERNAL_PORT ]]; then
142142
fi
143143

144144
wait
145-

0 commit comments

Comments
 (0)