Explorar o código

Remove cache invalidation from upgrade script

jeremystretch %!s(int64=4) %!d(string=hai) anos
pai
achega
8592e0af54
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      upgrade.sh

+ 0 - 5
upgrade.sh

@@ -97,11 +97,6 @@ COMMAND="python3 netbox/manage.py clearsessions"
 echo "Removing expired user sessions ($COMMAND)..."
 eval $COMMAND || exit 1
 
-# Clear all cached data
-COMMAND="python3 netbox/manage.py invalidate all"
-echo "Clearing cache data ($COMMAND)..."
-eval $COMMAND || exit 1
-
 if [ -v WARN_MISSING_VENV ]; then
   echo "--------------------------------------------------------------------"
   echo "WARNING: No existing virtual environment was detected. A new one has"