Skip to content

Commit

Permalink
change lantern timeline waiting condition in lantern_server_nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed May 5, 2024
1 parent 96a873d commit fc3cee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prog/lantern/lantern_server_nexus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def before_run
end

# wait for service account to be created
nap 10 if lantern_server.timeline.strand.label != "wait_leader"
nap 10 if lantern_server.timeline.strand.label == "start"

case vm.sshable.cmd("common/bin/daemonizer --check configure_lantern")
when "Succeeded"
Expand Down Expand Up @@ -212,7 +212,7 @@ def before_run
end

label def wait_timeline_available
nap 10 if lantern_server.timeline.strand.label != "wait_leader"
nap 10 if lantern_server.timeline.strand.label == "start"
lantern_server.update_walg_creds
decr_initial_provisioning
hop_wait_db_available
Expand Down

0 comments on commit fc3cee2

Please sign in to comment.