]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/tilecache-curl-time.erb
Bump actions/cache from v1 to v2
[chef.git] / cookbooks / tilecache / templates / default / tilecache-curl-time.erb
index 0c4f5326896ee99f0cfc6b94ca93e35331d81406..6abd2ea93db16e52033fe3a73f7e5e92a5d09d6c 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/bash
 #!/bin/bash
+sleep $[ ( $RANDOM % 20 )  + 1 ]
 mkdir -p /srv/tilecache/data/$(date --utc "+%Y/%m")
 # localhost
 curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \
 mkdir -p /srv/tilecache/data/$(date --utc "+%Y/%m")
 # localhost
 curl -w "@/srv/tilecache/tilecache-curl-time.txt" -o /dev/null -s -k -4 \