mirror of
https://git.deuxfleurs.fr/Deuxfleurs/garage.git
synced 2024-11-25 01:21:01 +00:00
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
|
|
|