Remove logging

This commit is contained in:
PJ 2021-12-10 17:10:26 +01:00
parent 92323b907f
commit c24017dc9d
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 0 additions and 4 deletions

View File

@ -53,7 +53,6 @@ purge_skylinks () {
do do
echo ".. ⌁ Purging skylink ${skylink}" echo ".. ⌁ Purging skylink ${skylink}"
cached_files_command="find ${NGINX_CACHE_DIR} -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'" cached_files_command="find ${NGINX_CACHE_DIR} -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'"
echo $cached_files_command
bash -c "${cached_files_command} | xargs -r rm" bash -c "${cached_files_command} | xargs -r rm"
echo ".. ⌁ Skylink ${skylink} purged" echo ".. ⌁ Skylink ${skylink} purged"
@ -110,9 +109,6 @@ fi
# move the skylinks file to the queue under lock # move the skylinks file to the queue under lock
acquire_lock acquire_lock
echo "moving file from -> to"
echo $NGINX_PURGE_SKYLINKS_FILE
echo $NGINX_PURGE_SKYLINKS_QUEUED
mv $NGINX_PURGE_SKYLINKS_FILE $NGINX_PURGE_SKYLINKS_QUEUED mv $NGINX_PURGE_SKYLINKS_FILE $NGINX_PURGE_SKYLINKS_QUEUED
release_lock release_lock