Skip to content

Commit 8570c3c

Browse files
committed
ref(etcd): remove etcd sleep at boot
Slows down boot time and as such the development cycle. Removing only because we have plans to fully remove etcd and it's already mostly been ripped out
1 parent 1049c39 commit 8570c3c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

rootfs/bin/boot

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ until etcdctl --no-sync -C "$ETCD" ls >/dev/null 2>&1; do
2626
sleep $((ETCD_TTL/2)) # sleep for half the TTL
2727
done
2828

29-
# wait until etcd has discarded potentially stale values
30-
sleep $((ETCD_TTL+1))
31-
3229
function etcd_set_default {
3330
set +e
3431
ERROR="$(etcdctl --no-sync -C "$ETCD" mk "$ETCD_PATH/$1" "$2" 2>&1)"

0 commit comments

Comments
 (0)