...
RecursiveDeleteMaxThreads – Recommended is 200 with a default of 75.
MaxConnections – Recommended is 500 with a default of 200.
...
Note
If an error “504 gateway timeouts from Swarm” encountersduring testing, increase the SSL offloader client and service-side timeout to 300 seconds (or 5 minutes).