forked from Deuxfleurs/garage
Alex Auvolat
e8214cb180
Use Notify instead of stupid sleep in background worker Use Semaphore to limit concurrent requests in rpc_client Make more background tasks cancellable
7 lines
207 B
Bash
Executable file
7 lines
207 B
Bash
Executable file
#!/bin/bash
|
|
|
|
for FILE in $(find target/debug/deps); do
|
|
echo -n "$FILE "
|
|
curl localhost:3900/$FILE -X PUT -H 'Host: garage' -H 'Content-Type: application/blob' --data-binary "@$FILE" || echo "ERROR"
|
|
done
|
|
|