btach size 1k

This commit is contained in:
Karol Wypchlo 2021-07-18 09:28:24 +02:00
parent 7f448fb31f
commit ae6043817b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ async def block_skylinks_from_airtable():
print("Searching nginx cache for blocked files")
cached_files_count = 0
batch_size = 500
batch_size = 1000
for i in range(0, len(skylinks), batch_size):
cached_files_command = (
"find /data/nginx/cache/ -type f | xargs --no-run-if-empty -n" + str(batch_size) + " grep -Els '^Skynet-Skylink: ("