Skip to content

Commit

Permalink
Wait for chainweb-data to fill at least one height
Browse files Browse the repository at this point in the history
  • Loading branch information
enobayram committed Oct 5, 2023
1 parent 96afebd commit f8c0de5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/nixos-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ in
serviceConfig = {
Type = "oneshot";
ExecStart = ''
# Wait for chainweb-data to receive at least one block per chain
sleep 300
${chainweb-data-fill}
'';
User = "chainweb-data";
Expand Down

0 comments on commit f8c0de5

Please sign in to comment.