This repository was archived by the owner on Sep 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 99startZero
1010start
1111
12- sleep 10 # Dgraph need some time to create Groot user
12+ sleep 10 # Dgraph need some time to create Groot user
1313
1414npm run build
1515npm test
Original file line number Diff line number Diff line change 77
88function quit {
99 echo " Shutting down Dgraph alpha and zero."
10- curl -s localhost:8080/admin/shutdown
10+ curl -s localhost:8080/admin/shutdown # TODO In the future this endpoint won't work anymore, in favor of GraphQL. We should prepare it.
1111
1212 kill -9 $( pgrep -f " dgraph zero" ) > /dev/null # Kill Dgraph zero.
1313 kill -9 $( pgrep -f " dgraph alpha" ) > /dev/null # I don't wanna wait "clean shutdown" on this context. Let's kill it please...
@@ -25,7 +25,7 @@ function quit {
2525function start {
2626 echo -e " Starting Dgraph alpha."
2727 head -c 1024 /dev/random > data/acl-secret.txt
28- dgraph alpha -p data/p -w data/w --lru_mb 4096 --zero localhost:5080 -- acl_secret_file data/acl-secret.txt > data/server .log 2>&1 &
28+ dgraph alpha -p data/p -w data/w --lru_mb 4096 --acl_secret_file data/acl-secret.txt > data/alpha .log 2>&1 &
2929 # Wait for membership sync to happen.
3030 sleep $sleepTime
3131 return 0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments